Telegraf Input Plugin - Telegraf 输入组件
Prometheus:
The prometheus input plugin gathers metrics from HTTP servers exposing metrics in Prometheus format.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/prometheus/README.md
Tail:
The tail plugin "tails" a logfile and parses each log message.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/tail/README.md
Exec:
The exec plugin executes all the commands in parallel on every interval and parses metrics from their output in any one of the accepted Input Data Formats.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/exec/README.md
Execd:
The execd plugin runs an external program as a daemon. The programs must output metrics in any one of the accepted Input Data Formats on its standard output.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/execd/README.md
File:
The file plugin updates a list of files every interval and parses the contents using the selected input data format.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/file/README.md
HTTP Response:
This input plugin checks HTTP/HTTPS connections.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/http_response/README.md
HTTP Listener v2:
HTTP Listener v2 is a service input plugin that listens for metrics sent via HTTP. Metrics may be sent in any supported data format.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/http_listener_v2/README.md
HTTP Input:
The HTTP input plugin collects metrics from one or more HTTP(S) endpoints. The endpoint should have metrics formatted in one of the supported input data formats. Each data format has its own unique set of configuration options which can be added to the input configuration.
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/http/README.md
Processes:
This plugin gathers info about the total number of processes and groups them by status (zombie, sleeping, running, etc.)
https://github.com/influxdata/telegraf/blob/release-1.16/plugins/inputs/processes/README.md
关于配置:https://docs.influxdata.com/telegraf/v1.16/administration/configuration/
Input configuration
The following config parameters are available for all inputs: 这些参数适用于每一个输入组件:
- interval: How often to gather this metric. Normal plugins use a single global interval, but if one particular input should be run less or more often, you can configure that here.
- name_override: Override the base name of the measurement. (Default is the name of the input).
- name_prefix: Specifies a prefix to attach to the measurement name.
- name_suffix: Specifies a suffix to attach to the measurement name.
- tags: A map of tags to apply to a specific input’s measurements.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架
2018-10-30 [转] 深入理解Java G1垃圾收集器