Werk #18310: OTel: Fix ZeroDivisionError for histogram
| Component | Checks & agents | ||||
| Title | OTel: Fix ZeroDivisionError for histogram | ||||
| Date | Oct 1, 2025 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
This update resolves a crash that occurred when parsing OpenTelemetry histogram metrics with a zero count.
Previously, metrics with an empty count triggered a ZeroDivisionError. With this change, such metrics are now safely skipped, preventing the error.