Werk #18174: otel: Return status unknown if metric contains value a non numerical number (NaN or Inf)

Component Checks & agents
Title otel: Return status unknown if metric contains value a non numerical number (NaN or Inf)
Date Jul 30, 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.0p10 Checkmk Cloud (CCE), Checkmk MSP (CME)

When monitoring via Otel, it is possible that a value can be NaN (Not a Number) or Inf (Infinite). Currently this will lead to a crash. With this werk we handle NaN and Inf values gracefully and return an Unknown status.

To the list of all Werks