Werk #17226: Fix ValueErrors when rendering graphs

Komponente User interface
Titel Fix ValueErrors when rendering graphs
Datum 05.08.2024
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

In certain cases, rendering graphs crashed with a ValueError such as

Traceback (most recent call last):
  ...
  File "...", line 615, in _compute_labels_from_api
    raise ValueError((min_y, max_y))
ValueError: (0.0, 1.75828125)

Zur Liste aller Werks