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/cpu.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

12 lines
435 B
Plaintext

# Read metrics about cpu usage
[[inputs.cpu]]
## Whether to report per-cpu stats or not
percpu = true
## Whether to report total system cpu stats or not
totalcpu = true
## If true, collect raw CPU time metrics
collect_cpu_time = false
## If true, compute and report the sum of all non-idle CPU states
report_active = false
## If true and the info is available then add core_id and physical_id tags
core_tags = false