telegraf

telegraf

Official

Docker app from atribe's Repository

Overview

Telegraf gathers metrics from your system and sends them to an InfluxDB server for storage. From InfluxDB you would typically use something like Grafana to plot the data.
Both Grafana and Influxdb are available through Community Apps

This version of telegraf requires you to manually place a config file at /mnt/user/appdata/telegraf/telegraf.conf The container will not start without it.

The default telegraf.conf file can be extracted from telegraf by running this command before you launch telegraf
docker run --rm telegraf telegraf config > /mnt/cache/appdata/telegraf/telegraf.conf

Configuration
Container Volumes:
/var/run/docker.sock Read Only. Location of your docker socket.
/var/run/utmp Read Only. Location of your utmp file.
/run/udev Read Only. Allows you to identify devices based on their properties, like vendor ID and device ID
/rootfs Read Only. To be mapped to the root of the host file system. This is so the disk usage reported will be that of the host system.
/rootfs/etc Read Only. To be mapped to the etc of the host file system. This is so the disk usage reported will be that of the host system.
/rootfs/proc Read Only. To be mapped to the proc of the host file system. This is so the disk usage reported will be that of the host system.
/rootfs/sys Read Only. To be mapped to the sys of the host file system. This is so the disk usage reported will be that of the host system.

Environment Variables:
HOST_MOUNT_PREFIX Name of container volume mapping of the root file system.
HOST_ETC Name of the etc volume mapping of the root file system.
HOST_PROC Name of the proc volume mapping of the root file system.
HOST_SYS Name of the sys volume mapping of the root file sytem.

tiger Telegraf

GoDoc Docker pulls Go Report Card Circle CI

Telegraf is an agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.

  • Offers a comprehensive suite of over 300 plugins, covering a wide range of functionalities including system monitoring, cloud services, and message passing
  • Enables the integration of user-defined code to collect, transform, and transmit data efficiently
  • Compiles into a standalone static binary without any external dependencies, ensuring a streamlined deployment process
  • Utilizes TOML for configuration, providing a user-friendly and unambiguous setup experience
  • Developed with contributions from a diverse community of over 1,200 contributors

Users can choose plugins from a wide range of topics, including but not limited to:

🔨 Installation

For binary builds, Docker images, RPM & DEB packages, and other builds of Telegraf, please see the install guide.

See the releases documentation for details on versioning and when releases are made.

💻 Usage

Users define a TOML configuration with the plugins and settings they wish to use, then pass that configuration to Telegraf. The Telegraf agent then collects data from inputs at each interval and sends data to outputs at each flush interval.

For a basic walkthrough see quick start.

📖 Documentation

For a full list of documentation including tutorials, reference and other material, start with the /docs directory.

Additionally, each plugin has its own README that includes details about how to configure, use, and sometimes debug or troubleshoot. Look under the /plugins directory for specific plugins.

Here are some commonly used documents:

❤️ Contribute

Contribute

We love our community of over 1,200 contributors! Many of the plugins included in Telegraf were originally contributed by community members. Check out our contributing guide if you are interested in helping out. Also, join us on our Community Slack or Community Forums if you have questions or comments for our engineering teams.

If you are completely new to Telegraf and InfluxDB, you can also enroll for free at InfluxDB university to take courses to learn more.

ℹ️ Support

Slack Forums

Please use the Community Slack or Community Forums if you have questions or comments for our engineering teams. GitHub issues are limited to actual issues and feature requests only.

📜 License

MIT

Install Telegraf on Unraid in a few clicks.

Find Telegraf in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for Telegraf Review the template variables and paths Click Install

Download Statistics

636,926,764
Total Downloads
1,274,609
This Month
2,097,376
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

Repository
telegraf:latest
Last Updated2026-06-24
First Seen2020-12-11

Runtime arguments

Network
host
Privileged
true

Template configuration

Host Path 1Pathro

Container Path: /var/run/utmp

Target
/var/run/utmp
Default
/var/run/utmp
Host Path 2Pathro

Container Path: /var/run/docker.sock

Target
/var/run/docker.sock
Default
/var/run/docker.sock
Host Path 3Pathro

Container Path: /rootfs

Target
/rootfs
Default
/
Host Path 4Pathro

Container Path: /rootfs/sys

Target
/rootfs/sys
Default
/sys
Host Path 5Pathro

Container Path: /rootfs/etc

Target
/rootfs/etc
Default
/etc
Host Path 6Pathro

Container Path: /rootfs/proc

Target
/rootfs/proc
Default
/proc
Host Path 7Pathrw

Container Path: /etc/telegraf/telegraf.conf

Target
/etc/telegraf/telegraf.conf
Default
/mnt/user/appdata/telegraf/telegraf.conf
Host Path 8Pathro

Container Path: /run/udev

Target
/run/udev
Default
/run/udev
Key 1Variable

Container Variable: HOST_PROC

Target
HOST_PROC
Default
/rootfs/proc
Key 2Variable

Container Variable: HOST_SYS

Target
HOST_SYS
Default
/rootfs/sys
Key 3Variable

Container Variable: HOST_ETC

Target
HOST_ETC
Default
/rootfs/etc
Key 4Variable

Container Variable: HOST_MOUNT_PREFIX

Target
HOST_MOUNT_PREFIX
Default
/rootfs