elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.49k stars 8.05k forks source link

[ML] AIOps: Enhance the "no results" state of the Change Point Embeddable #170388

Open darnautov opened 8 months ago

darnautov commented 8 months ago

The change point embeddable utilizes the change point aggregation to fetch a change point for requested metric. If the split field is configured as well, it scans all partitions to locate change points. Once the results from the change point aggregation are obtained, it plots the metrics with the Lens embeddable, adding an annotation layer with a corresponding change point. If no change points have been found, it renders an empty state.

image

But for the following configurations:

Instead of displaying an empty state, it is more informative to render the metric along with a notification indicating that a change point couldn't be determined. This ensures that users receive some form of visualization even when a change point isn't found.

This behaviour should be configurable with an additional property to the embebeddable input, e.g. allowNoResults.

elasticmachine commented 8 months ago

Pinging @elastic/ml-ui (:ml)