Werk #22905 · Dec 2, 26
REST API: metric endpoints report the first curve of a stack as an area
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
The endpoint Get metrics (POST /domain-types/metric/actions/get/invoke)
and, in Checkmk Pro and higher, the endpoint Get a custom graph
(POST /domain-types/metric/actions/get_custom_graph/invoke) now compute their
graphs with the new graph rendering engine (Werk #22440). This changes two
details of their responses:
- The first curve of each stack has the
line_typearea, or-areawhen the stack is mirrored. The further curves of a stack keepstackor-stack. Previously, the first curve of a stack could also be reported asstack, for example in predefined graphs. - The
metricslist holds the curves stack by stack, followed by the lines. Previously, it followed the order of the graph definition.
Scripts that tell stacks apart by line_type, or that rely on the order of
metrics, have to be adapted.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 3.0.0b1Not yet releasedAll Editions