:_mod-docs-content-type: ASSEMBLY
[id="cert-manager-monitoring"]
= Monitoring {cert-manager-operator}
include::_attributes/common-attributes.adoc[]
:context: cert-manager-monitoring

toc::[]

[role="_abstract"]
By default, the {cert-manager-operator} exposes metrics for the three core components: controller, cainjector, and webhook. You can configure OpenShift Monitoring to collect these metrics by using the Prometheus Operator format.

// Enabling user workload monitoring for the cert-manager operand
include::modules/cert-manager-enable-user-workload-monitor.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources

* link:https://docs.redhat.com/en/documentation/monitoring_stack_for_red_hat_openshift/latest/html/configuring_user_workload_monitoring/configuring-metrics-uwm#setting-up-metrics-collection-for-user-defined-projects_configuring-metrics-uwm[Setting up metrics collection for user-defined projects]

// Metrics scraping for cert-manager operands by using a ServiceMonitor
include::modules/cert-manager-enable-metrics.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources

* link:https://docs.redhat.com/en/documentation/monitoring_stack_for_red_hat_openshift/latest/html/configuring_user_workload_monitoring/preparing-to-configure-the-monitoring-stack-uwm[Configuring user workload monitoring]

// Querying metrics for the cert-manager operands
include::modules/cert-manager-query-metrics.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources

* link:https://docs.redhat.com/en/documentation/monitoring_stack_for_red_hat_openshift/latest/html/accessing_metrics/accessing-metrics-as-an-administrator[Accessing metrics as an administrator]

// Configuring metrics collection for cert-manager Operator for Red Hat OpenShift istio-csr operand by using a ServiceMonitor
include::modules/cert-manager-config-metrics-collection.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources

* link:https://docs.redhat.com/en/documentation/monitoring_stack_for_red_hat_openshift/latest/html/configuring_user_workload_monitoring/preparing-to-configure-the-monitoring-stack-uwm[Configuring user workload monitoring]

// Querying metrics for the istio-csr operand
include::modules/cert-manager-query-metrics-for-istio-csr-operand.adoc[leveloffset=+1]

[role="_additional-resources"]
.Additional resources

* link:https://docs.redhat.com/en/documentation/monitoring_stack_for_red_hat_openshift/latest/html/accessing_metrics/accessing-metrics-as-an-administrator[Accessing metrics as an administrator]
