Telegraf is the open source server agent to help you collect metrics from your stacks, sensors and systems.
InfluxDB Telegraf

What is Telegraf?

Telegraf is a plugin-driven server agent for collecting and sending metrics and events from databases, systems, and IoT sensors.

Telegraf is written in Go and compiles into a single binary with no external dependencies, and requires a very minimal memory footprint.

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 integrations

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.

Telegraf news
Collecting Data from A Look at Writing Your Own Custom Telegraf Plugin
This article was written by InfluxData Summer 2021 interns Noé Garcia, Mya Longmire, Aidan Tai, Dane Strandboge and Merrick Tian. Telegraf is a powerful tool that enables you to gather metrics and information from stacks, sensors or systems. Telegraf handles the heavy lifting and computation allowing you to spend more ...
Release Announcement: Telegraf 1.19.1
A new maintenance release for Telegraf is available now. Telegraf 1.19.1 — release notes This maintenance release of Telegraf includes the following improvements: Dependencies Updated nat-server module to v2.2.6 Updated apimachinary module to v0.21.1 Updated jwt module to v1.2.2 and jwt-go module to v3.2.3 Updated couchbase module to v0.1.0 Updated ...

How to Use Telegraf and Its Plugin Ecosystem

Writing Your Own Telegraf Plugin


How to Use Telegraf and Its Plugin Ecosystem How to Use Telegraf and Its Plugin Ecosystem

In this webinar, you will learn how to send data from a variety of systems, apps, databases and services in the appropriate format to InfluxDB.

David McKay The Telegraf Toolbelt: It Can Do That, Really?

In this talk David McKay, DevRel Manager at InfluxData, will take a look at some of the lesser known, but awesome, plugins that are often overlooked; as well as how to use Telegraf for monitoring of Cloud Native systems.

Writing Your Own Telegraf Plugin 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

Scroll to Top