Werk #16799: Custom & forecast graphs: More descriptive error messages in case of missing user input when configuring metrics

Component Metrics system
Title Custom & forecast graphs: More descriptive error messages in case of missing user input when configuring metrics
Date Apr 19, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1
Not yet released
Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b6 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p26 Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

When configuring the metrics rendered in custom and forecast graphs, users have to select a host, a service and a metric. Previously, if any of these fields were missing, the Checkmk UI displayed the message "Cannot calculate graph recipes" and an uninformative traceback. As of this werk, the UI instead displays a descriptive error message.

To the list of all Werks