// Module included in the following assemblies:
//
// * operators/understanding-olm/olm-understanding-olm.adoc

[id="olm-metrics_{context}"]
= Exposed metrics

The Operator Lifecycle Manager (OLM) exposes certain OLM-specific resources for
use by the Prometheus-based {product-title} cluster monitoring stack.

.Metrics exposed by OLM
[cols="2a,8a",options="header"]
|===
|Name |Description

|`csv_count`
|Number of CSVs successfully registered.

|`install_plan_count`
|Number of InstallPlans.

|`subscription_count`
|Number of Subscriptions.

|`csv_upgrade_count`
|Monotonic count of CatalogSources.
|===

// Module included in the following assemblies:
//
// * operators/understanding-olm/olm-understanding-olm.adoc

[id="olm-metrics_{context}"]
= Exposed metrics

The Operator Lifecycle Manager (OLM) exposes certain OLM-specific resources for
use by the Prometheus-based {product-title} cluster monitoring stack.

.Metrics exposed by OLM
[cols="2a,8a",options="header"]
|===
|Name |Description

|`catalog_source_count`
|Number of CatalogSources.

|`csv_abnormal`
|When reconciling a CSV, present whenever a CSV version is in any state other
than `Succeeded`. Includes the `name`, `namespace`, `phase`, `reason`, and
`version` labels. A Prometheus alert is created when this metric is present.

|`csv_count`
|Number of CSVs successfully registered.

|`csv_succeeded`
|When reconciling a CSV, represents whether a CSV version is in a `Succeeded`
state (value `1`) or not (value `0`). Includes the `name`, `namespace`, and
`version` labels.

|`csv_upgrade_count`
|Monotonic count of CatalogSources.

|`install_plan_count`
|Number of InstallPlans.

|`subscription_count`
|Number of Subscriptions.

|`subscription_sync_total`
|Monotonic count of Subscription syncs. Includes the `channel`, `installed` CSV,
and Subscription `name` labels.

|===

Update OLM metrics for 4.3
Update OLM metrics for 4.3
