1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/cert-manager-query-metrics.adoc
2026-01-22 08:46:02 +00:00

38 lines
1.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * security/cert_manager_operator/cert-manager-monitoring.adoc
:_mod-docs-content-type: PROCEDURE
[id="cert-manager-query-metrics_{context}"]
= Querying metrics for the {cert-manager-operator} operands
[role="_abstract"]
As a cluster administrator, or as a user with view access to all namespaces, you can query {cert-manager-operator} operands 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 {cert-manager-operator}.
* You have enabled monitoring and metrics collection by creating `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 {cert-manager-operator} operands metric for each operand:
+
[source,promql]
----
{job="cert-manager"}
----
+
[source,promql]
----
{job="cert-manager-webhook"}
----
+
[source,promql]
----
{job="cert-manager-cainjector"}
----