Skip to content

Commit 6d31204

Browse files
authored
in_node_exporter_metrics: fix config parameter name and default value (#2297)
- Change collector.thermal_zone.scrape_interval to collector.thermalzone.scrape_interval to match source code config_map in ne.c - Remove errant trailing quote from systemd_exclude_pattern default value Fixes #2296. Signed-off-by: Eric D. Schabell <eric@schabell.org>
1 parent 92fb0e1 commit 6d31204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipeline/inputs/node-exporter-metrics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This helps with down-sampling when collecting metrics.
5252
| `collector.systemd.scrape_interval` | The rate in seconds at which `systemd` metrics are collected from the host operating system. | `0` |
5353
| `collector.textfile.path` | Specify path or directory to collect textfile metrics from the host operating system. | Not set by default. |
5454
| `collector.textfile.scrape_interval` | The rate in seconds at which `textfile` metrics are collected from the host operating system. | `0` |
55-
| `collector.thermal_zone.scrape_interval` | The rate in seconds at which `thermal_zone` metrics are collected from the host operating system. | `0` |
55+
| `collector.thermalzone.scrape_interval` | The rate in seconds at which `thermal_zone` metrics are collected from the host operating system. | `0` |
5656
| `collector.time.scrape_interval` | The rate in seconds at which `time` metrics are collected from the host operating system. | `0` |
5757
| `collector.uname.scrape_interval` | The rate in seconds at which `uname` metrics are collected from the host operating system. | `0` |
5858
| `collector.vmstat.scrape_interval` | The rate in seconds at which `vmstat` metrics are collected from the host operating system. | `0` |
@@ -64,7 +64,7 @@ This helps with down-sampling when collecting metrics.
6464
| `path.rootfs` | The root filesystem mount point. | `/` |
6565
| `path.sysfs` | The path in the filesystem used to collect system metrics. | `/sys` |
6666
| `scrape_interval` | The rate in seconds at which metrics are collected from the host operating system. | `5` |
67-
| `systemd_exclude_pattern` | Regular expression to determine which units are excluded in the metrics produced by the `systemd` collector. | `.+\\.(automount\|device\|mount\|scope\|slice)"` |
67+
| `systemd_exclude_pattern` | Regular expression to determine which units are excluded in the metrics produced by the `systemd` collector. | `.+\\.(automount\|device\|mount\|scope\|slice)` |
6868
| `systemd_include_pattern` | Regular expression to determine which units are included in the metrics produced by the `systemd` collector. | Not applied unless explicitly set. |
6969
| `systemd_include_service_task_metrics` | Determines if the collector will include service task metrics. | `false` |
7070
| `systemd_service_restart_metrics` | Determines if the collector will include service restart metrics. | `false` |

0 commit comments

Comments
 (0)