2024-05-07 02:13:53 +08:00
|
|
|
|
#  Telegraf
|
2021-08-04 05:03:33 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
[](https://godoc.org/github.com/influxdata/telegraf) [](https://hub.docker.com/_/telegraf/) [](https://goreportcard.com/report/github.com/influxdata/telegraf) [](https://circleci.com/gh/influxdata/telegraf)
|
2021-08-04 05:03:33 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
Telegraf is an agent for collecting, processing, aggregating, and writing
|
|
|
|
|
|
metrics, logs, and other arbitrary data.
|
2021-08-04 05:03:33 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
* 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
|
2015-05-20 13:26:13 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
Users can choose plugins from a wide range of topics, including but not limited
|
|
|
|
|
|
to:
|
2016-11-04 22:12:22 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
* Devices: OPC UA, Modbus
|
|
|
|
|
|
* Logs: File, Tail, Directory Monitor
|
|
|
|
|
|
* Messaging: AMQP, Kafka, MQTT
|
|
|
|
|
|
* Monitoring: OpenTelemetry, Prometheus
|
|
|
|
|
|
* Networking: Cisco TelemetryMDT, gNMI
|
|
|
|
|
|
* System monitoring: CPU, Memory, Disk, Network, SMART, Docker, Nvidia SMI, etc.
|
|
|
|
|
|
* Universal: Exec, HTTP, HTTP Listener, SNMP, SQL
|
|
|
|
|
|
* Windows: Event Log, Management Instrumentation, Performance Counters
|
2016-11-04 22:12:22 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
## 🔨 Installation
|
2017-05-10 04:44:34 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
For binary builds, Docker images, RPM & DEB packages, and other builds of
|
|
|
|
|
|
Telegraf, please see the [install guide](/docs/INSTALL_GUIDE.md).
|
2019-12-05 09:16:00 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
See the [releases documentation](/docs/RELEASES.md) for details on versioning
|
|
|
|
|
|
and when releases are made.
|
2021-10-21 04:05:57 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
## 💻 Usage
|
2019-12-05 09:16:00 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
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.
|
2019-12-05 09:16:00 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
For a basic walkthrough see [quick start](/docs/QUICK_START.md).
|
2021-10-21 04:05:57 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
## 📖 Documentation
|
2021-10-21 04:05:57 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
For a full list of documentation including tutorials, reference and other
|
|
|
|
|
|
material, start with the [Docs directory](/docs/README.md).
|
2021-10-21 04:05:57 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
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](/plugins/) for specific plugins.
|
2015-05-20 13:26:13 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
Here are some commonly used documents:
|
2016-03-17 23:53:55 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
* [Changelog](/CHANGELOG.md)
|
|
|
|
|
|
* [Configuration](/docs/CONFIGURATION.md)
|
|
|
|
|
|
* [FAQ](/docs/FAQ.md)
|
|
|
|
|
|
* [Releases](https://github.com/influxdata/telegraf/releases)
|
|
|
|
|
|
* [Security](/SECURITY.md)
|
2016-01-31 02:53:17 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
## ❤️ Contribute
|
2021-10-21 04:05:57 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
[](https://github.com/influxdata/telegraf/blob/master/CONTRIBUTING.md)
|
2021-10-21 04:05:57 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
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](CONTRIBUTING.md) if you are interested in helping out.
|
|
|
|
|
|
Also, join us on our [Community Slack](https://influxdata.com/slack) or
|
|
|
|
|
|
[Community Forums](https://community.influxdata.com/) if you have questions or
|
|
|
|
|
|
comments for our engineering teams.
|
2021-10-21 04:05:57 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
If you are completely new to Telegraf and InfluxDB, you can also enroll for free at
|
|
|
|
|
|
[InfluxDB university](https://www.influxdata.com/university/) to take courses to
|
|
|
|
|
|
learn more.
|
2016-01-31 02:53:17 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
## ℹ️ Support
|
2015-08-19 00:16:59 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
[](https://www.influxdata.com/slack) [](https://community.influxdata.com/)
|
2017-07-22 02:15:00 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
Please use the [Community Slack](https://influxdata.com/slack) or
|
|
|
|
|
|
[Community Forums](https://community.influxdata.com/) if you have questions or
|
|
|
|
|
|
comments for our engineering teams. GitHub issues are limited to actual issues
|
|
|
|
|
|
and feature requests only.
|
2022-08-04 06:50:23 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
## 📜 License
|
2021-11-03 04:03:24 +08:00
|
|
|
|
|
2024-05-07 02:13:53 +08:00
|
|
|
|
[](https://github.com/influxdata/telegraf/blob/master/LICENSE)
|