mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * security/external_secrets_operator/external-secrets-monitoring.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="external-secrets-query-operator-metrics_{context}"]
|
|
= Querying metrics for the {external-secrets-operator}
|
|
|
|
[role="_abstract"]
|
|
As a cluster administrator, or as a user with view access to all namespaces, you can query the Operator metrics by using the {product-title} web console or the command-line interface (CLI). For more information, see "Accessing metrics".
|
|
|
|
.Prerequisites
|
|
|
|
* You have access to the cluster as a user with the `cluster-admin` role.
|
|
* You have installed the {external-secrets-operator}.
|
|
* You have enabled monitoring and metrics collection by creating a `ServiceMonitor` object.
|
|
|
|
.Procedure
|
|
|
|
. In the {product-title} web console, navigate to *Observe* -> *Metrics*.
|
|
|
|
. In the query field, enter the following PromQL expressions to query the {external-secrets-operator} metric:
|
|
+
|
|
[source,promql]
|
|
----
|
|
{job="external-secrets-operator-controller-manager-metrics-service"}
|
|
----
|
|
|