Telegraf

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

Why use Telegraf?

Telegraf is a server-based agent for collecting and sending all metrics and events from databases, systems, and IoT sensors. Written in Go, it compiles into a single binary with no external dependencies, and requires a minimal memory footprint.

Collect and store all kinds of data:

IoT-hl

IoT sensors

Collect critical stateful data (pressure levels, temp levels, etc.) with popular protocols like MQTT, ModBus, OPC-UA, and Kafka.

toolset

DevOps Tools and frameworks

Gather metrics from cloud platforms, containers, and orchestrators like GitHub, Kubernetes, CloudWatch, Prometheus and more.

027-cells-hl

System telemetry

Metrics from system telemetry like iptables, Netstat, NGINX, and HAProxy help provide a full stack view of your apps.

Telegraf key capabilities

037-sound wavesvg

Agent for collecting

Telegraf is an open source plugin-driven server agent for collecting and reporting metrics. It is written in Go and compiled as a standalone binary so that it can be executed on any system with no external dependencies. Telegraf also contains in-memory metric buffers to maintain data collection if the downstream database is temporarily unavailable.

telegraf-01

Coverage

With 300+ plugins written by community members who are subject matter experts on the data, Telegraf is the way to start collecting metrics from cloud services, apps, IoT sensors and more. It enables flexible parsing and serializing for a variety of data formats (such as JSON, CSV) and can serialize the data in InfluxDB line protocol and Prometheus to name a few.

030-abstract shape

Robust delivery

Telegraf has reliable metric delivery guarantees with flow back-pressure. It also includes a scheduler, adjusts for clockdrift, full streaming support, and allows you to parse, format, or serialize your unstructured data before sending it to its final destination, saving time and storage space.

Telegraf key capabilities

037-sound wavesvg

Agent for collecting

Telegraf is an open source plugin-driven server agent for collecting and reporting metrics. It is written in Go and compiled as a standalone binary so that it can be executed on any system with no external dependencies. Telegraf also contains in-memory metric buffers to maintain data collection if the downstream database is temporarily unavailable.

telegraf-01

Coverage

With 300+ plugins written by community members who are subject matter experts on the data, Telegraf is the way to start collecting metrics from cloud services, applications, IoT sensors and more. It enables flexible parsing and serializing for a variety of data formats (such as JSON, CSV, Graphite) and can serialize the data in InfluxDB line protocol and Prometheus to name a few.

030-abstract shape

Robust Delivery

Telegraf has reliable metric delivery guarantees with flow back-pressure. It also includes a scheduler, adjusts for clockdrift, full streaming support, and allows you to parse, format, or serialize your unstructured data before sending it to its final destination, saving time and storage space.

Intro to Telegraf video

Telegraf plugin system overview

Telegraf diagram

4 Types of Telegraf Plugins

There are the four basic plugin types: Input, output, processor, and aggregator.

1. Input

Telegraf Input Plugins collect metrics from the system, services, and 3rd party APIs.

2. Process

Processor Plugins transform, decorate, and filter metrics before they are sent allowing your data to be sanitized as it arrives.

3. Aggregate

Aggregator Plugins create aggregate metrics, for example the average mean, minimum and maximum from the metrics you have collected, and processed.

4. Output

Output Plugins write to a variety of datastores, services, & message queues, like InfluxDB, Graphite, OpenTSDB, Datadog, Kafka, MQTT, NSQ, and others.

Video: Telegraf Plugin System Overview

Telegraf plugins

Integrations to a variety of metrics, events, and logs from popular containers and systems.

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.

Seamlessly connect with 300+ plugins to the platforms that make sense to you.

Telegraf news
Telegraf 1.22.4 released with updates to Couchbase, Azure, Statsd, and Wavefront plugins
This new maintenance release for Telegraf is available now. Telegraf 1.22.4 — Release Notes Agent Telegraf service now waits for network up in systemd packaging. Input plugin updates Couchbase Input The plugin no longer assumes bucket stat metrics will all be the same length. Statsd Input We fixed an issue ...
Telegraf 1.22.3 released with Security updates for Go
This new maintenance release for Telegraf is available now. Telegraf 1.22.3 — Release Notes Build We updated to Go 1.18.1 to address a security fix for CVE-2022-24675 Input plugin updates GNMI Input The GNMI input plugin now uses the external XPath parser, which has been more extensively tested. InfluxDB Listener ...

Resources

Download Telegraf

Download the Telegraf open source collector agent

Telegraf Documentation

Documentation to help you get started with Telegraf

Free Telegraf Training

Take the Data Collection with Telegraf course

How to configure your Telegraf Plugin

Video: How to Configure a Telegraf Plugin

Save Time with Telegraf

Video: How can Telegraf make my life easier?

Getting Involved

Video: Why should I get involved in open source?

Telegraf Use Cases

Video: What are some use cases for Telegraf?

Telegraf Improvements

Video: How do improvements land in Telegraf?

Influxdbu

Developer Education

Free training for time series app developers.

community-new

Community

Our awards recognize the contributions of our developer community.

Scroll to Top