Telegraf

From ArchWiki
Jump to: navigation, search

Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. It is an open source application developed by InfluxData and closely integrated into the TICK Stack. It is highly customizable with plugins for different metrics and backends.

Installation

Install the telegrafAUR or the telegraf-binAUR package. If you want to write your own plugins, it may be better to get it directly from GitHub and compile it in your $GOPATH.

Start/enable the telegraf service.

Configuration

All configuration is done in /etc/telegraf/telegraf.conf. By default it expects you to have InfluxDB installed. To test the default output, run telegraf --test.

The configuration is well documented, but you can also have a look at their documentation.

See also