This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nezha-nz-talon/tools/telegraf.d/net.conf
shizhendong 55e9084a46 feat: NEZ-2138 nz-talon 打包 telegraf 开源组件
1、nz-talon 编译打包时,打包 telegraf-1.26.2 (当前最新版本)
2、内置 cpu,mem,disk ,io 等默认监控配置
3、telegraf service 名称: nz-telegraf
4、promtail service 名称改为: nz-promtail
5、nz-talon 更新时确保原有 telegraf 配置不丢失
2023-04-26 15:08:13 +08:00

14 lines
560 B
Plaintext

# Gather metrics about network interfaces
[[inputs.net]]
## By default, telegraf gathers stats from any up interface (excluding loopback)
## Setting interfaces will tell it to gather these explicit interfaces,
## regardless of status. When specifying an interface, glob-style
## patterns are also supported.
##
# interfaces = ["eth*", "enp0s[0-1]", "lo"]
##
## On linux systems telegraf also collects protocol stats.
## Setting ignore_protocol_stats to true will skip reporting of protocol metrics.
##
# ignore_protocol_stats = false
##