Telegraf is the open source server agent to help you collect metrics from your stacks, sensors and systems.
Why use Telegraf?
Collect and send all kinds of data:
- Database: Connect to datasources like MongoDB, MySQL, Redis, and others to collect and send metrics.
- Systems: Collect metrics from your modern stack of cloud platforms, containers, and orchestrators.
- IoT sensors: Collect critical stateful data (pressure levels, temp levels, etc.) from IoT sensors and devices.
Agent: Telegraf can collect metrics from a wide array of inputs and write them into a wide array of outputs. It is plugin-driven for both collection and output of data so it is easily extendable. It is written in Go, which means that it is a compiled and standalone binary that can be executed on any system with no need for external dependencies, no npm, pip, gem, or other package management tools required.
Coverage: With 200+ plugins already written by subject matter experts on the data in the community, it is easy to start collecting metrics from your end-points. Even better, the ease of plugin development means you can build your own plugin to fit with your monitoring needs. You can even use Telegraf to parse the input data formats into metrics. These include: InfluxDB Line Protocol, JSON, Graphite, Value, Nagios, and Collectd.
Flexible: The Telegraf plugin architecture supports your processes and does not force you to change your workflows to work with the technology. Whether you need it to sit on the edge, or in a centralized manner, it just fits with your architecture instead of the other way around. Telegraf’s flexibility makes it an easy decision to implement.
Telegraf’s plugin system allows new inputs and outputs to be easily added, with many integrations to a variety of metrics, events, and logs from popular containers and systems. Pull metrics from third-party APIs, or listen for metrics via a StatsD and Kafka consumer services.
Telegraf also has output plugins to send metrics to a variety of other datastores, services, and message queues, including InfluxDB, Graphite, OpenTSDB, Datadog, Librato, Kafka, MQTT, NSQ, and many others.
“It used to be, without having this level of insight into where your expenses were at, it was sort of just a black box,” says Robert Allen, director of engineering at Houghton Mifflin Harcourt (HMH) and part of the company’s Bedrock Platform Technical Services team....
This article was originally published on Medium by Al Sargent. Recently I’ve been playing with InfluxDB and Telegraf on my MacBook Air. I thought I’d share my notes for how to get started with InfluxDB and Telegraf on a Mac. First, some background… What is InfluxDB?...
Writing Your Own Telegraf Plugin
In this video you will be walked through the steps on how to write your own Telegraf plugin. This will require an understanding of the Go programming language.
Available as InfluxDB open source, InfluxDB Cloud & InfluxDB Enterprise