Werk #18524: OTel: Restrict cardinality of services

Component Checks & agents
Title OTel: Restrict cardinality of services
Date Aug 28, 2025
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p12
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Since the OTel metric service creates Checkmk metrics from OTel datapoints without filtering or restricting them at first, this can result in a high number of metrics per service. To ensure this number does not grow uncontrollably, the number of emitted Checkmk metrics is now restricted to 20.

At 15 metrics, the service will go to WARN to inform about the upcoming restriction. At 20 metrics, they are aggregated into one metric, per default by averaging. The aggregation method can be configured in the "OpenTelemetry (experimental) (Managed Services Edition, Cloud Edition)" service monitoring rule.

To the list of all Werks