Skip to content

telegraf

Plugin-driven agent that collects metrics and logs and sends them to your chosen backends

Permissive (OSI) · MIT
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

90

Health

Thriving

Overview

Stars

17,920

Last commit

today

Nov 2026

Repository age

11 years

since Apr 2015

Latest version

v1.40.4

Nov 2026

Contributors

–

27 active in 90 days

Releases

18

last 12 months

Language

Go

Telegraf is an agent that collects, processes, aggregates and writes metrics, logs and other data. It is written in Go and compiles to a standalone static binary with no external dependencies. You configure it in TOML by choosing input and output plugins.

The agent reads data from inputs at each interval and sends it to outputs at each flush interval. More than 300 plugins cover system monitoring (CPU, memory, disk, network, SMART, Docker, Nvidia SMI), messaging (AMQP, Kafka, MQTT), OpenTelemetry, Prometheus, SNMP, SQL, Modbus, OPC UA and Windows event logs. You can also plug in your own code to collect or transform data.

Telegraf is released under MIT and comes from the InfluxData team, though it works with other outputs as well as InfluxDB. It has been developed since 2015, with 17 releases in the past year. Binaries, Docker images, RPM and DEB packages are available, and a Homebrew formula exists for macOS.

Who it's for

Sysadmins collecting host metrics across servers

One static binary with TOML config is easy to roll out to many machines.

Skip if: You want a full dashboard and alerting product in one package.

Industrial and IoT engineers

Plugins for Modbus, OPC UA and MQTT read device data directly.

Skip if: Your devices use a protocol with no plugin and you cannot write one.

Teams feeding InfluxDB, Kafka or Prometheus

Input and output plugins let you route the same data to several systems.

Skip if: You already run a different collector that covers your sources.

The problem it solves

Metrics and logs come from many places: servers, containers, network gear and industrial devices. Commercial monitoring agents tie collection to one vendor's backend. Telegraf collects from all of them and lets you pick where the data goes.

Strengths

  • Over 300 plugins for systems, cloud, messaging and devices
  • Single static binary with no external dependencies
  • TOML configuration with per-plugin documentation
  • MIT license, with 22 contributors active in the last 90 days
  • 17 releases in the past year

Trade-offs

  • It collects and ships data but does not store or visualize it
  • Config grows long when you enable many plugins
  • Documentation is spread across per-plugin pages
  • GitHub issues are limited to bugs and feature requests

Self-host telegraf

Self-hostable
Yes
Hosted plan
Available · pricing

Frequently asked questions

Is Telegraf free?

Yes. It is open source under the MIT license.

Can I self-host it?

Yes. You run the agent on your own machines as a static binary, a Docker image, or an RPM or DEB package.

How do I configure it?

You write a TOML file that lists the plugins and settings, then pass it to Telegraf.

Does it only work with InfluxDB?

No. It has output plugins for other systems, and it can read from Prometheus and OpenTelemetry sources.

Similar tools in Infrastructure monitoring tools

thanos

Infrastructure monitoring tools

Prometheus add-on for high availability, global queries and long-term metric storage

14k 2.4k yesterday Thriving Apache-2.0

Pulse

Infrastructure monitoring tools

Self-hosted dashboard and alerts for Proxmox, Docker, Kubernetes and TrueNAS

7.2k 292 today Active MIT

cortex

Infrastructure monitoring tools

Multi-tenant long-term metrics storage for Prometheus and OpenTelemetry at cluster scale

5.9k 891 today Active Apache-2.0

Kener

Infrastructure monitoring tools

Self-hosted status page and uptime monitor for teams that want a simple public page

5.3k 328 2 days ago Thriving MIT

beszel

Infrastructure monitoring tools

Lightweight server monitoring hub with Docker stats and alerts for homelabs

28k 1.2k today Thriving MIT

checkcle

Infrastructure monitoring tools

Self-hosted uptime and server monitoring with status pages for DevOps teams

3.3k 295 4 months ago Dormant MIT