-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
None
-
False
-
NEW
-
NEW
-
Feature
-
-
-
MON Sprint 237, MON Sprint 239
We will add a section for "systemd" Collector in "nodeExporter.collectors" section in CMO configmap.
It has a boolean field "enabled", the default value is false.
apiVersion: v1 kind: ConfigMap metadata: name: cluster-monitoring-config namespace: openshift-monitoring data: config.yaml: | nodeExporter: collectors: # enablea collector which is disabled by default systemd: enabled: true
To avoid too many metrics are scraped from systemd units, the collector should collect metrics on selected units only. We put regex patterns of the units to collect in the list `collectors.systemd.units`.
apiVersion: v1 kind: ConfigMap metadata: name: cluster-monitoring-config namespace: openshift-monitoring data: config.yaml: | nodeExporter: collectors: # enable a collector which is disabled by default systemd: enabled: true units: - iscsi-init.* - sshd.service
There are no Sub-Tasks for this issue.