From 8737170d385d789b0707c99e68e1675d3950011f Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Wed, 31 Jan 2024 09:06:14 +0900 Subject: [PATCH 1/3] in_node_exporter_metrics: Add description for processes metrics Signed-off-by: Hiroshi Hatake --- pipeline/inputs/node-exporter-metrics.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline/inputs/node-exporter-metrics.md b/pipeline/inputs/node-exporter-metrics.md index acc74ebbb..86aad104e 100644 --- a/pipeline/inputs/node-exporter-metrics.md +++ b/pipeline/inputs/node-exporter-metrics.md @@ -36,6 +36,7 @@ The table below indicates which collector is supported on macOS. | 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 | | collector.nvme.scrape\_interval | The rate in seconds at which nvme 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.processes.scrape\_interval | The rate in seconds at which processes 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/.+)($|/)` | | filesystem.ignore\_filesystem\_type\_regex | Specify the regex for the filesystem types to prevent collection of/ignore. | `^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$` | @@ -78,6 +79,7 @@ The following table describes the available collectors as part of this plugin. A | systemd collector | Exposes statistics from systemd. | Linux | v2.1.3 | | thermal_zone | Expose thermal statistics from `/sys/class/thermal/thermal_zone/*` | Linux | v2.2.1 | | nvme | Exposes nvme statistics from `/proc`. | Linux | v2.2.0 | +| processes | Exposes processes statistics from `/proc`. | Linux | v2.1.9 | ## Getting Started From 55ef19ce67841fbc465c7eb06d7d348d2d66beb6 Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Wed, 31 Jan 2024 09:07:17 +0900 Subject: [PATCH 2/3] node_exporter_metrics: Update the included version to v2.2.0 Signed-off-by: Hiroshi Hatake --- pipeline/inputs/node-exporter-metrics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/inputs/node-exporter-metrics.md b/pipeline/inputs/node-exporter-metrics.md index 86aad104e..24107f9c4 100644 --- a/pipeline/inputs/node-exporter-metrics.md +++ b/pipeline/inputs/node-exporter-metrics.md @@ -79,7 +79,7 @@ The following table describes the available collectors as part of this plugin. A | systemd collector | Exposes statistics from systemd. | Linux | v2.1.3 | | thermal_zone | Expose thermal statistics from `/sys/class/thermal/thermal_zone/*` | Linux | v2.2.1 | | nvme | Exposes nvme statistics from `/proc`. | Linux | v2.2.0 | -| processes | Exposes processes statistics from `/proc`. | Linux | v2.1.9 | +| processes | Exposes processes statistics from `/proc`. | Linux | v2.2.0 | ## Getting Started From 97bd6a16e6a8fd0fd06686053a5f86c05627f39d Mon Sep 17 00:00:00 2001 From: Hiroshi Hatake Date: Wed, 31 Jan 2024 09:08:10 +0900 Subject: [PATCH 3/3] in_node_exporter_metrics: Add mention for "system level" Signed-off-by: Hiroshi Hatake --- pipeline/inputs/node-exporter-metrics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/inputs/node-exporter-metrics.md b/pipeline/inputs/node-exporter-metrics.md index 24107f9c4..225f91599 100644 --- a/pipeline/inputs/node-exporter-metrics.md +++ b/pipeline/inputs/node-exporter-metrics.md @@ -36,7 +36,7 @@ The table below indicates which collector is supported on macOS. | 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 | | collector.nvme.scrape\_interval | The rate in seconds at which nvme 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.processes.scrape\_interval | The rate in seconds at which processes 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.processes.scrape\_interval | The rate in seconds at which system level of process 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/.+)($|/)` | | filesystem.ignore\_filesystem\_type\_regex | Specify the regex for the filesystem types to prevent collection of/ignore. | `^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$` |