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 11 months ago
.circleci Update to Go 1.14.3 with testing using 1.13.11 (#7564) 11 months ago
.github Fix spelling errors in comments and documentation (#7492) 1 year ago
agent add support for streaming processors (#7634) 11 months ago
cmd/telegraf Add support for once mode; run processors and aggregators during test (#7474) 11 months ago
config add support for streaming processors (#7634) 11 months ago
docs Update AGGREGATORS_AND_PROCESSORS.md (#7599) 11 months ago
etc Add configurable separator graphite serializer and output (#7545) 1 year ago
filter Add test for include/exclude filter (#5193) 2 years ago
internal Add support for once mode; run processors and aggregators during test (#7474) 11 months ago
logger Skip logging when logfile is unset (#6648) 1 year ago
metric Fix assorted spelling mistakes (#7507) 1 year ago
models add support for streaming processors (#7634) 11 months ago
plugins add rss feed title 11 months ago
scripts Add support for Solus distribution to maintainer scripts (#7585) 11 months ago
selfstat Fix assorted spelling mistakes (#7507) 1 year ago
testutil Fix spelling errors in comments and documentation (#7492) 1 year ago
.gitattributes Use merge=union driver for go.sum 1 year ago
.gitignore Update vendoring to dep from gdm (#4314) 2 years ago
CHANGELOG.md Update CHANGELOG.md 11 months ago
CONTRIBUTING.md Update docs for execd plugins (#7465) 1 year ago
Dockerfile add ablility to build new version with docker 11 months ago
EXTERNAL_PLUGINS.md Add github.com/inabagumi/twitter-telegraf-plugin to list of external plugins 11 months ago
LICENSE Update copyright date 1 year ago
Makefile Add processor to look up service name by port (#7540) 11 months ago
README.md Add newrelic output plugin (#7019) 11 months ago
accumulator.go Fix aggregator window and shutdown of multiple aggregators (#5644) 2 years ago
aggregator.go add support for streaming processors (#7634) 11 months ago
appveyor.yml Update to Go 1.14.3 with testing using 1.13.11 (#7564) 11 months ago
docker-compose.yml Fix issues with failing tests on darwin (#7042) 1 year ago
go.mod add ablility to build new version with docker 11 months ago
go.sum add ablility to build new version with docker 11 months ago
input.go add support for streaming processors (#7634) 11 months ago
metric.go Fix spelling errors in comments and documentation (#7492) 1 year ago
output.go add support for streaming processors (#7634) 11 months ago
plugin.go add support for streaming processors (#7634) 11 months ago
processor.go add support for streaming processors (#7634) 11 months 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