Metrics graph error fix
What does this MR do?
Shows up empty/loading error states for certain scenarios when there's not even enough data to plot a single point on the graph. This is done via rejecting a promise
Why was this MR needed?
To fix an ongoing bug for the prometheus monitoring
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary - Tests
-
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
closes #30840 (closed)