Werk #18104: OTel: Fix hostname computation when using different rules

Component Checks & agents
Title OTel: Fix hostname computation when using different rules
Date Jun 3, 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.0p5 Checkmk Cloud (CCE), Checkmk MSP (CME)

When multiple rules were defined in a "Host name computation" for an Open Telemetry receiver endpoint or Prometheus scrape config, they were combined into one. Instead, the first one matching rule is now applied.

To the list of all Werks