{"id":13451662,"url":"https://github.com/influxdata/telegraf","last_synced_at":"2026-01-11T22:01:24.418Z","repository":{"id":29715908,"uuid":"33258973","full_name":"influxdata/telegraf","owner":"influxdata","description":"Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.","archived":false,"fork":false,"pushed_at":"2025-12-17T20:47:50.000Z","size":80378,"stargazers_count":16596,"open_issues_count":410,"forks_count":5748,"subscribers_count":296,"default_branch":"master","last_synced_at":"2025-12-21T07:56:43.643Z","etag":null,"topics":["gnmi","golang","hacktoberfest","influxdb","json","kafka","logs","metrics","modbus","monitoring","mqtt","opcua","telegraf","time-series","windows-eventlog","windows-management-instrumentation","xpath"],"latest_commit_sha":null,"homepage":"https://influxdata.com/telegraf","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/influxdata.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG-1.13.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"docs/SUPPORTED_PLATFORMS.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-04-01T16:28:44.000Z","updated_at":"2025-12-21T07:09:15.000Z","dependencies_parsed_at":"2025-12-18T04:05:52.884Z","dependency_job_id":null,"html_url":"https://github.com/influxdata/telegraf","commit_stats":{"total_commits":8706,"total_committers":1382,"mean_commits":"6.2995658465991315","dds":0.8072593613599817,"last_synced_commit":"ceba1795962dc0bd9b888e39b098683e69d6e652"},"previous_names":["influxdb/telegraf","influxdb/tivan"],"tags_count":273,"template":false,"template_full_name":null,"purl":"pkg:github/influxdata/telegraf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Ftelegraf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Ftelegraf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Ftelegraf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Ftelegraf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/influxdata","download_url":"https://codeload.github.com/influxdata/telegraf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Ftelegraf/sbom","scorecard":{"id":488178,"data":{"date":"2025-08-11","repo":{"name":"github.com/influxdata/telegraf","commit":"ae0d6bbed8fa7aa344cb550f1115fdb7e6591b68"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/linter.yml:33","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/linter.yml:34","Info: found token with 'none' permissions: .github/workflows/linter.yml:1","Warn: no topLevel permission defined: .github/workflows/pr-target-branch.yml:1","Warn: no topLevel permission defined: .github/workflows/readme-linter.yml:1","Warn: no topLevel permission defined: .github/workflows/semantic.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: GoBuiltInFuzzer integration found: plugins/parsers/json/parser_test.go:1474"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter.yml:48: update your workflow using https://app.stepsecurity.io/secureworkflow/influxdata/telegraf/linter.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linter.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/influxdata/telegraf/linter.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/milestones.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/influxdata/telegraf/milestones.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/milestones.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/influxdata/telegraf/milestones.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/readme-linter.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/influxdata/telegraf/readme-linter.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/readme-linter.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/influxdata/telegraf/readme-linter.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/semantic.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/influxdata/telegraf/semantic.yml/master?enable=pin","Warn: containerImage not pinned by hash: plugins/outputs/postgresql/Dockerfile:14","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T18:20:39.595Z","repository_id":29715908,"created_at":"2025-08-19T18:20:39.596Z","updated_at":"2025-08-19T18:20:39.596Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28324835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gnmi","golang","hacktoberfest","influxdb","json","kafka","logs","metrics","modbus","monitoring","mqtt","opcua","telegraf","time-series","windows-eventlog","windows-management-instrumentation","xpath"],"created_at":"2024-07-31T07:00:58.264Z","updated_at":"2026-01-11T22:01:24.397Z","avatar_url":"https://github.com/influxdata.png","language":"Go","readme":"# ![tiger](assets/TelegrafTigerSmall.png \"tiger\") Telegraf\n\n[![GoDoc](https://img.shields.io/badge/doc-reference-00ADD8.svg?logo=go)](https://godoc.org/github.com/influxdata/telegraf)\n[![Docker pulls](https://img.shields.io/docker/pulls/library/telegraf.svg)](https://hub.docker.com/_/telegraf/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/influxdata/telegraf)](https://goreportcard.com/report/github.com/influxdata/telegraf)\n[![Circle CI](https://circleci.com/gh/influxdata/telegraf.svg?style=svg)](https://circleci.com/gh/influxdata/telegraf)\n\nTelegraf is an agent for collecting, processing, aggregating, and writing\nmetrics, logs, and other arbitrary data.\n\n* Offers a comprehensive suite of over 300 plugins, covering a wide range of\n  functionalities including system monitoring, cloud services, and message\n  passing\n* Enables the integration of user-defined code to collect, transform, and\n  transmit data efficiently\n* Compiles into a standalone static binary without any external dependencies,\n  ensuring a streamlined deployment process\n* Utilizes TOML for configuration, providing a user-friendly and unambiguous\n  setup experience\n* Developed with contributions from a diverse community of over 1,200\n  contributors\n\nUsers can choose plugins from a wide range of topics, including but not limited\nto:\n\n* Devices: [OPC UA][], [Modbus][]\n* Logs: [File][], [Tail][], [Directory Monitor][]\n* Messaging: [AMQP][], [Kafka][], [MQTT][]\n* Monitoring: [OpenTelemetry][], [Prometheus][]\n* Networking: [Cisco TelemetryMDT][], [gNMI][]\n* System monitoring: [CPU][], [Memory][], [Disk][], [Network][], [SMART][],\n  [Docker][], [Nvidia SMI][], etc.\n* Universal: [Exec][], [HTTP][], [HTTP Listener][], [SNMP][], [SQL][]\n* Windows: [Event Log][], [Management Instrumentation][],\n  [Performance Counters][]\n\n## 🔨 Installation\n\nFor binary builds, Docker images, RPM \u0026 DEB packages, and other builds of\nTelegraf, please see the [install guide](/docs/INSTALL_GUIDE.md).\n\nSee the [releases documentation](/docs/RELEASES.md) for details on versioning\nand when releases are made.\n\n## 💻 Usage\n\nUsers define a TOML configuration with the plugins and settings they wish to\nuse, then pass that configuration to Telegraf. The Telegraf agent then\ncollects data from inputs at each interval and sends data to outputs at each\nflush interval.\n\nFor a basic walkthrough see [quick start](/docs/QUICK_START.md).\n\n## 📖 Documentation\n\nFor a full list of documentation including tutorials, reference and other\nmaterial, start with the [/docs directory](/docs/README.md).\n\nAdditionally, each plugin has its own README that includes details about how to\nconfigure, use, and sometimes debug or troubleshoot. Look under the\n[/plugins directory](/plugins/) for specific plugins.\n\nHere are some commonly used documents:\n\n* [Changelog](/CHANGELOG.md)\n* [Configuration](/docs/CONFIGURATION.md)\n* [FAQ](/docs/FAQ.md)\n* [Releases](https://github.com/influxdata/telegraf/releases)\n* [Security](/SECURITY.md)\n\n## ❤️ Contribute\n\n[![Contribute](https://img.shields.io/badge/contribute-to_telegraf-blue.svg?logo=influxdb)](https://github.com/influxdata/telegraf/blob/master/CONTRIBUTING.md)\n\nWe love our community of over 1,200 contributors! Many of the plugins included\nin Telegraf were originally contributed by community members. Check out\nour [contributing guide](CONTRIBUTING.md) if you are interested in helping out.\nAlso, join us on our [Community Slack](https://influxdata.com/slack) or\n[Community Forums](https://community.influxdata.com/) if you have questions or\ncomments for our engineering teams.\n\nIf you are completely new to Telegraf and InfluxDB, you can also enroll for free\nat [InfluxDB university](https://www.influxdata.com/university/) to take courses\nto learn more.\n\n## ℹ️ Support\n\n[![Slack](https://img.shields.io/badge/slack-join_chat-blue.svg?logo=slack)](https://www.influxdata.com/slack)\n[![Forums](https://img.shields.io/badge/discourse-join_forums-blue.svg?logo=discourse)](https://community.influxdata.com/)\n\nPlease use the [Community Slack](https://influxdata.com/slack) or\n[Community Forums](https://community.influxdata.com/) if you have questions or\ncomments for our engineering teams. GitHub issues are limited to actual issues\nand feature requests only.\n\n## 📜 License\n\n[![MIT](https://img.shields.io/badge/license-MIT-blue)](https://github.com/influxdata/telegraf/blob/master/LICENSE)\n\n[OPC UA]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/opcua\n[Modbus]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/modbus\n[File]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/file\n[Tail]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/tail\n[Directory Monitor]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/directory_monitor\n[AMQP]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/amqp_consumer\n[Kafka]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kafka_consumer\n[MQTT]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mqtt_consumer\n[OpenTelemetry]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/opentelemetry\n[Prometheus]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/prometheus\n[Cisco TelemetryMDT]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cisco_telemetry_mdt\n[gNMI]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/gnmi\n[CPU]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cpu\n[Memory]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem\n[Disk]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/disk\n[Network]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/net\n[SMART]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/smartctl\n[Docker]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker\n[Nvidia SMI]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/nvidia_smi\n[Exec]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/exec\n[HTTP]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/http\n[HTTP Listener]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/http_listener_v2\n[SNMP]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/snmp\n[SQL]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/sql\n[Event Log]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/win_eventlog\n[Management Instrumentation]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/win_wmi\n[Performance Counters]: https://github.com/influxdata/telegraf/tree/master/plugins/inputs/win_perf_counters\n","funding_links":[],"categories":["Go","6. Collector","Collecting data into InfluxDB","Golang","Metric 数据收集","Content","monitoring","Go 程序设计","Repos","Monitoring","Logging","Software","Prometheus-Exporter","APM Monitoring","Table of Contents"],"sub_categories":["Metrics","Projects","Monitoring \u0026 Logging","网络服务_其他","Metrics \u0026 Metric Collection","Collector","Agent"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Ftelegraf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfluxdata%2Ftelegraf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Ftelegraf/lists"}