You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
dom 49701ffb05 add rss feed title 3 years ago
.circleci Update to Go 1.14.3 with testing using 1.13.11 (#7564) 3 years ago
.github Fix spelling errors in comments and documentation (#7492) 3 years ago
agent add support for streaming processors (#7634) 3 years ago
cmd/telegraf Add support for once mode; run processors and aggregators during test (#7474) 3 years ago
config add support for streaming processors (#7634) 3 years ago
docs Update AGGREGATORS_AND_PROCESSORS.md (#7599) 3 years ago
etc Add configurable separator graphite serializer and output (#7545) 3 years ago
filter Add test for include/exclude filter (#5193) 4 years ago
internal Add support for once mode; run processors and aggregators during test (#7474) 3 years ago
logger Skip logging when logfile is unset (#6648) 4 years ago
metric Fix assorted spelling mistakes (#7507) 3 years ago
models add support for streaming processors (#7634) 3 years ago
plugins add rss feed title 3 years ago
scripts Add support for Solus distribution to maintainer scripts (#7585) 3 years ago
selfstat Fix assorted spelling mistakes (#7507) 3 years ago
testutil Fix spelling errors in comments and documentation (#7492) 3 years ago
.gitattributes Use merge=union driver for go.sum 3 years ago
.gitignore Update readme and changelog 3 years ago
CHANGELOG.md Update CHANGELOG.md 3 years ago
CONTRIBUTING.md Update docs for execd plugins (#7465) 3 years ago
Dockerfile add ablility to build new version with docker 3 years ago
EXTERNAL_PLUGINS.md Add github.com/inabagumi/twitter-telegraf-plugin to list of external plugins 3 years ago
LICENSE Update copyright date 4 years ago
Makefile Add processor to look up service name by port (#7540) 3 years ago
README.md Add newrelic output plugin (#7019) 3 years ago
accumulator.go Fix aggregator window and shutdown of multiple aggregators (#5644) 4 years ago
aggregator.go add support for streaming processors (#7634) 3 years ago
appveyor.yml Update to Go 1.14.3 with testing using 1.13.11 (#7564) 3 years ago
docker-compose.yml Fix issues with failing tests on darwin (#7042) 3 years ago
go.mod add ablility to build new version with docker 3 years ago
go.sum add ablility to build new version with docker 3 years ago
input.go add support for streaming processors (#7634) 3 years ago
metric.go Fix spelling errors in comments and documentation (#7492) 3 years ago
output.go add support for streaming processors (#7634) 3 years ago
plugin.go add support for streaming processors (#7634) 3 years ago
processor.go add support for streaming processors (#7634) 3 years ago

README.md

Telegraf Circle CI Docker pulls

Telegraf is an agent for collecting, processing, aggregating, and writing metrics.

Design goals are to have a minimal memory footprint with a plugin system so that developers in the community can easily add support for collecting metrics.

Telegraf is plugin-driven and has the concept of 4 distinct plugin types:

  1. Input Plugins collect metrics from the system, services, or 3rd party APIs
  2. Processor Plugins transform, decorate, and/or filter metrics
  3. Aggregator Plugins create aggregate metrics (e.g. mean, min, max, quantiles, etc.)
  4. Output Plugins write metrics to various destinations

New plugins are designed to be easy to contribute, pull requests are welcomed and we work to incorporate as many pull requests as possible.

Try in Browser 🚀

You can try Telegraf right in your browser in the Telegraf playground.

Contributing

There are many ways to contribute:

Minimum Requirements

Telegraf shares the same minimum requirements as Go:

  • Linux kernel version 2.6.23 or later
  • Windows 7 or later
  • FreeBSD 11.2 or later
  • MacOS 10.11 El Capitan or later

Installation:

You can download the binaries directly from the downloads page or from the releases section.

Ansible Role:

Ansible role: https://github.com/rossmcdonald/telegraf

From Source:

Telegraf requires Go version 1.13 or newer, the Makefile requires GNU make.

  1. Install Go >=1.13 (1.14 recommended)
  2. Clone the Telegraf repository:
    cd ~/src
    git clone https://github.com/influxdata/telegraf.git
    
  3. Run make from the source directory
    cd ~/src/telegraf
    make
    

Changelog

View the changelog for the latest updates and changes by version.

Nightly Builds

These builds are generated from the master branch:

How to use it:

See usage with:

telegraf --help

Generate a telegraf config file:

telegraf config > telegraf.conf

Generate config with only cpu input & influxdb output plugins defined:

telegraf --section-filter agent:inputs:outputs --input-filter cpu --output-filter influxdb config

Run a single telegraf collection, outputting metrics to stdout:

telegraf --config telegraf.conf --test

Run telegraf with all plugins defined in config file:

telegraf --config telegraf.conf

Run telegraf, enabling the cpu & memory input, and influxdb output plugins:

telegraf --config telegraf.conf --input-filter cpu:mem --output-filter influxdb

Documentation

Latest Release Documentation.

For documentation on the latest development code see the documentation index.

Input Plugins

Parsers

Serializers

Processor Plugins

Aggregator Plugins

Output Plugins