Werk #18249: OTel: Fix metric name for OTel datapoints without attributes

Component Checks & agents
Title OTel: Fix metric name for OTel datapoints without attributes
Date Jun 18, 2025
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p6 Checkmk Cloud (CCE), Checkmk MSP (CME)

With werk #18209 and werk #18108 we changed the way the Checkmk metric name is being computed from the OTel data points by using the attributes of the data points and the unit of the OTel metric. If the OTel metric contains only a single data point, the data point usually has no attributes, resulting in no Checkmk metric being emitted in the worst case.

For datapoints without attributes we now use the name of the OTel metric instead of the attributes to build the Checkmk metric name.

Please note that because of this change, metrics which were previously created by the OpenTelemetry integration, will no longer be supplied with data. Instead, new metrics following this new naming convention will be created.

To the list of all Werks