You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Note: This CHANGELOG is only for the monitoring team to track all monitoring related changes. Please see OpenShift release notes for official changes.
2
2
3
+
## 4.19
4
+
5
+
-[#2339](https://github.com/openshift/cluster-monitoring-operator/pull/2339) Add support to sysctl node-exporter collector
6
+
3
7
## 4.18
4
8
5
9
-[#2503](https://github.com/openshift/cluster-monitoring-operator/issues/2503) Expose `scrapeInterval` setting for UWM Prometheus.
@@ -248,6 +249,7 @@ The `NodeExporterCollectorConfig` resource defines settings for individual colle
248
249
| mountstats |[NodeExporterCollectorMountStatsConfig](#nodeexportercollectormountstatsconfig)| Defines the configuration of the `mountstats` collector, which collects statistics about NFS volume I/O activities. Disabled by default. |
249
250
| ksmd |[NodeExporterCollectorKSMDConfig](#nodeexportercollectorksmdconfig)| Defines the configuration of the `ksmd` collector, which collects statistics from the kernel same-page merger daemon. Disabled by default. |
250
251
| processes |[NodeExporterCollectorProcessesConfig](#nodeexportercollectorprocessesconfig)| Defines the configuration of the `processes` collector, which collects statistics from processes and threads running in the system. Disabled by default. |
252
+
| sysctl |[NodeExporterCollectorSysctlConfig](#nodeexportercollectorsysctlconfig)| Defines the configuration of the `sysctl` collector, which collects sysctl metrics. Disabled by default. |
251
253
| systemd |[NodeExporterCollectorSystemdConfig](#nodeexportercollectorsystemdconfig)| Defines the configuration of the `systemd` collector, which collects statistics on the systemd daemon and its managed services. Disabled by default. |
252
254
253
255
[Back to TOC](#table-of-contents)
@@ -343,6 +345,23 @@ The `NodeExporterCollectorProcessesConfig` resource works as an on/off switch fo
343
345
344
346
[Back to TOC](#table-of-contents)
345
347
348
+
## NodeExporterCollectorSysctlConfig
349
+
350
+
#### Description
351
+
352
+
The `NodeExporterCollectorSysctlConfig` resource works as an on/off switch for the `sysctl` collector of the `node-exporter` agent. Caution! Exposing metrics like kernel.random.uuid can disrupt Prometheus, as it generates new data series with every scrape. Use this option judiciously! By default, the `sysctl` collector is disabled.
| enabled | bool | A Boolean flag that enables or disables the `sysctl` collector. |
360
+
| includeSysctlMetrics |[]string | A list of numeric sysctl values. Note that a sysctl can contain multiple values, for example: `net.ipv4.tcp_rmem = 4096\t131072\t6291456`. Using `includeSysctlMetrics: ['net.ipv4.tcp_rmem']` the collector will expose: `node_sysctl_net_ipv4_tcp_rmem{index=\"0\"} 4096`, `node_sysctl_net_ipv4_tcp_rmem{index=\"1\"} 131072`, `node_sysctl_net_ipv4_tcp_rmem{index=\"2\"} 6291456`. If the indexes have defined meaning like in this case, the values can be mapped to multiple metrics: `includeSysctlMetrics: ['net.ipv4.tcp_rmem:min,default,max']`. The collector will expose these metrics as such: `node_sysctl_net_ipv4_tcp_rmem_min 4096`, `node_sysctl_net_ipv4_tcp_rmem_default 131072`, `node_sysctl_net_ipv4_tcp_rmem_max 6291456`. |
361
+
| includeInfoSysctlMetrics |[]string | A list of string sysctl values. For example: `includeSysctlMetrics: ['kernel.core_pattern', 'kernel.seccomp.actions_avail = kill_process kill_thread']`. The collector will expose these metrics as such: `node_sysctl_info{name=\"kernel.core_pattern\", value=\"core\"} 1`, `node_sysctl_info{name=\"kernel.seccomp.actions_avail\", index=\"0\", value=\"kill_process\"} 1`, `node_sysctl_info{name=\"kernel.seccomp.actions_avail\", index=\"1\", value=\"kill_thread\"} 1`, ... |
|processes|link:nodeexportercollectorprocessesconfig.adoc[NodeExporterCollectorProcessesConfig]|Defines the configuration of the `processes` collector, which collects statistics from processes and threads running in the system. Disabled by default.
36
36
37
+
|sysctl|link:nodeexportercollectorsysctlconfig.adoc[NodeExporterCollectorSysctlConfig]|Defines the configuration of the `sysctl` collector, which collects sysctl metrics. Disabled by default.
38
+
37
39
|systemd|link:nodeexportercollectorsystemdconfig.adoc[NodeExporterCollectorSystemdConfig]|Defines the configuration of the `systemd` collector, which collects statistics on the systemd daemon and its managed services. Disabled by default.
// DO NOT EDIT THE CONTENT IN THIS FILE. It is automatically generated from the
2
+
// source code for the Cluster Monitoring Operator. Any changes made to this
3
+
// file will be overwritten when the content is re-generated. If you wish to
4
+
// make edits, read the docgen utility instructions in the source code for the
5
+
// CMO.
6
+
:_content-type: ASSEMBLY
7
+
8
+
== NodeExporterCollectorSysctlConfig
9
+
10
+
=== Description
11
+
12
+
The `NodeExporterCollectorSysctlConfig` resource works as an on/off switch for the `sysctl` collector of the `node-exporter` agent. Caution! Exposing metrics like kernel.random.uuid can disrupt Prometheus, as it generates new data series with every scrape. Use this option judiciously! By default, the `sysctl` collector is disabled.
|enabled|bool|A Boolean flag that enables or disables the `sysctl` collector.
22
+
23
+
|includeSysctlMetrics|[]string|A list of numeric sysctl values. Note that a sysctl can contain multiple values, for example: `net.ipv4.tcp_rmem = 4096\t131072\t6291456`. Using `includeSysctlMetrics: ['net.ipv4.tcp_rmem']` the collector will expose: `node_sysctl_net_ipv4_tcp_rmem{index=\"0\"} 4096`, `node_sysctl_net_ipv4_tcp_rmem{index=\"1\"} 131072`, `node_sysctl_net_ipv4_tcp_rmem{index=\"2\"} 6291456`. If the indexes have defined meaning like in this case, the values can be mapped to multiple metrics: `includeSysctlMetrics: ['net.ipv4.tcp_rmem:min,default,max']`. The collector will expose these metrics as such: `node_sysctl_net_ipv4_tcp_rmem_min 4096`, `node_sysctl_net_ipv4_tcp_rmem_default 131072`, `node_sysctl_net_ipv4_tcp_rmem_max 6291456`.
24
+
25
+
|includeInfoSysctlMetrics|[]string|A list of string sysctl values. For example: `includeSysctlMetrics: ['kernel.core_pattern', 'kernel.seccomp.actions_avail = kill_process kill_thread']`. The collector will expose these metrics as such: `node_sysctl_info{name=\"kernel.core_pattern\", value=\"core\"} 1`, `node_sysctl_info{name=\"kernel.seccomp.actions_avail\", index=\"0\", value=\"kill_process\"} 1`, `node_sysctl_info{name=\"kernel.seccomp.actions_avail\", index=\"1\", value=\"kill_thread\"} 1`, ...
@@ -392,6 +395,38 @@ type NodeExporterCollectorTcpStatConfig struct {
392
395
Enabledbool`json:"enabled,omitempty"`
393
396
}
394
397
398
+
// The `NodeExporterCollectorSysctlConfig` resource works as an on/off switch for
399
+
// the `sysctl` collector of the `node-exporter` agent.
400
+
// Caution! Exposing metrics like kernel.random.uuid can disrupt Prometheus, as it generates new data series with every scrape. Use this option judiciously!
401
+
// By default, the `sysctl` collector is disabled.
402
+
typeNodeExporterCollectorSysctlConfigstruct {
403
+
// A Boolean flag that enables or disables the `sysctl` collector.
404
+
Enabledbool`json:"enabled,omitempty"`
405
+
// A list of numeric sysctl values.
406
+
// Note that a sysctl can contain multiple values, for example:
407
+
// `net.ipv4.tcp_rmem = 4096 131072 6291456`.
408
+
// Using `includeSysctlMetrics: ['net.ipv4.tcp_rmem']` the collector will expose:
0 commit comments