From fccf5a83bb2c4c44cd43bfae1b1331e76a51c901 Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Thu, 9 Nov 2023 18:50:59 -0300 Subject: [PATCH 1/2] in_node_exporter_metrics: add a reference to thermal_zone. Related to fluent/fluent-bit#7522. Signed-off-by: Phillip Whelan --- pipeline/inputs/node-exporter-metrics.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/inputs/node-exporter-metrics.md b/pipeline/inputs/node-exporter-metrics.md index 173836ec6..d0f1ffde3 100644 --- a/pipeline/inputs/node-exporter-metrics.md +++ b/pipeline/inputs/node-exporter-metrics.md @@ -72,6 +72,7 @@ The following table describes the available collectors as part of this plugin. A | uname | Exposes system information as provided by the uname system call. | Linux | v1.8 | | vmstat | Exposes statistics from `/proc/vmstat`. | Linux | v1.8.2 | | systemd collector | Exposes statistics from systemd. | Linux | v2.1.3 | +| thermal_zone | Expose thermal statistics from `/sys/class/thermal/thermal_zone/*` | Linux | v2.2+ | ## Getting Started From ac3b4520c8584274fd677d19b3315f04e1e9f333 Mon Sep 17 00:00:00 2001 From: Phillip Whelan Date: Thu, 9 Nov 2023 18:54:46 -0300 Subject: [PATCH 2/2] in_node_exporter_metrics: update interval property for thermal_zone. Add description for the thermal_zone interval configuration property. Signed-off-by: Phillip Whelan --- pipeline/inputs/node-exporter-metrics.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/inputs/node-exporter-metrics.md b/pipeline/inputs/node-exporter-metrics.md index d0f1ffde3..b0f5796a5 100644 --- a/pipeline/inputs/node-exporter-metrics.md +++ b/pipeline/inputs/node-exporter-metrics.md @@ -32,6 +32,7 @@ This plugin is currently only supported on Linux based operating systems\ | collector.time.scrape\_interval | The rate in seconds at which time metrics are collected from the host operating system. If a value greater than 0 is used then it overrides the global default otherwise the global default is used. | 0 seconds | | collector.loadavg.scrape\_interval | The rate in seconds at which loadavg metrics are collected from the host operating system. If a value greater than 0 is used then it overrides the global default otherwise the global default is used. | 0 seconds | | collector.vmstat.scrape\_interval | The rate in seconds at which vmstat metrics are collected from the host operating system. If a value greater than 0 is used then it overrides the global default otherwise the global default is used. | 0 seconds | +| collector.thermal_zone.scrape\_interval | The rate in seconds at which thermal_zone metrics are collected from the host operating system. If a value greater than 0 is used then it overrides the global default otherwise the global default is used. | 0 seconds | | collector.filefd.scrape\_interval | The rate in seconds at which filefd metrics are collected from the host operating system. If a value greater than 0 is used then it overrides the global default otherwise the global default is used. | 0 seconds | | metrics | To specify which metrics are collected from the host operating system. These metrics depend on `/proc` or `/sys` fs. The actual values of metrics will be read from `/proc` or `/sys` when needed. cpu, cpufreq, meminfo, diskstats, filesystem, stat, loadavg, vmstat, netdev, and filefd depend on procfs. cpufreq metrics depend on sysfs. | `"cpu,cpufreq,meminfo,diskstats,filesystem,uname,stat,time,loadavg,vmstat,netdev,filefd"` | | filesystem.ignore\_mount\_point\_regex | Specify the regex for the mount points to prevent collection of/ignore. | `^/(dev|proc|run/credentials/.+|sys|var/lib/docker/.+|var/lib/containers/storage/.+)($|/)` |