Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add nodeExporter.collectors.systemd settings.
- Loading branch information
Showing
11 changed files
with
263 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Documentation/openshiftdocs/modules/nodeexportercollectorsystemdconfig.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// DO NOT EDIT THE CONTENT IN THIS FILE. It is automatically generated from the | ||
// source code for the Cluster Monitoring Operator. Any changes made to this | ||
// file will be overwritten when the content is re-generated. If you wish to | ||
// make edits, read the docgen utility instructions in the source code for the | ||
// CMO. | ||
:_content-type: ASSEMBLY | ||
|
||
== NodeExporterCollectorSystemdConfig | ||
|
||
=== Description | ||
|
||
The `NodeExporterCollectorSystemdConfig` resource works as an on/off switch for the `systemd` collector of the `node-exporter` agent. By default, the `systemd` collector is disabled. If enabled, the following metrics become available: `node_systemd_system_running`, `node_systemd_timer_last_trigger_seconds`, `node_systemd_units`, `node_systemd_version`. You can also use the `units` parameter to select the systemd units to be included by the `systemd` collector. However, this metric's cardinality might be high (at least 5 series per unit per node). The selected units are used to generate the `node_systemd_unit_state` metric, which shows the state of each systemd unit. If the unit uses a socket, it also generates these 3 metrics: `node_systemd_socket_accepted_connections_total`, `node_systemd_socket_current_connections`, `node_systemd_socket_refused_connections_total`. If you enable this collector with a long list of selected units, closely monitor the `prometheus-k8s` deployment for excessive memory usage. | ||
|
||
|
||
|
||
Appears in: link:nodeexportercollectorconfig.adoc[NodeExporterCollectorConfig] | ||
|
||
[options="header"] | ||
|=== | ||
| Property | Type | Description | ||
|enabled|bool|A Boolean flag that enables or disables the `systemd` collector. | ||
|
||
|units|[]string|A list of regular expression (regex) patterns that match systemd units to be included by the `systemd` collector. By default, the collector exposes no metrics for systemd units. | ||
|
||
|=== | ||
|
||
link:../index.adoc[Back to TOC] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.