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.

 

  

posted @   Pekkle  阅读(1002)  评论(0编辑  收藏  举报
编辑推荐:
· 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垃圾收集器
点击右上角即可分享
微信分享提示