// 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
_attributes/common-attributes.adoc :context: configmap-reference-for-cluster-monitoring-operator
Parts of {product-title} cluster monitoring are configurable. The API is accessible by setting parameters defined in various config maps.
Depending on which part of the stack you want to configure, edit the following:
-
To configure monitoring components, edit the
ConfigMap
object namedcluster-monitoring-config
in theopenshift-monitoring
namespace. These configurations are defined by ClusterMonitoringConfiguration. -
To configure monitoring components that monitor user-defined projects, edit the
ConfigMap
object nameduser-workload-monitoring-config
in theopenshift-user-workload-monitoring
namespace. These configurations are defined by UserWorkloadConfiguration.
The configuration file itself is always defined under the config.yaml
key in the config map data.
Note
|
|