Werk #18313: OTel: Sanitize curly braces from metric name

Component Checks & agents
Title OTel: Sanitize curly braces from metric name
Date Oct 23, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0p15 Checkmk Cloud (CCE), Checkmk MSP (CME)

Metric names for Otel datapoints, which were generated by combining the Otel metric name, its datapoint attributes and unit, previously included curly braces. These curly braces made the metric names unusable for graphing, as graphing tools only allow characters, numbers and underscores. With this change, all curly braces in metric names are replaced by underscores. This ensures that Otel metric names are now fully compatible with graphing tools, allowing users to see their Otel metrics correctly displayed without errors. The change is automatic and transparent, so no existing graphs need to be recreated.

To the list of all Werks