Remove MTTR over time mock resolver

What does this MR do and why?

The MTTR over time panel/chart used mock data while the BE work was in progress. There was a mock resolver and typedefs declared. These are all removed with this MR, to use actual data from the BE.

This also includes a small bugfix when switching the grouping of the chart, which would scramble the legend.

References

Related #627163 (closed)

Screenshots or screen recordings

Uses actual data now

How to set up and validate locally

  1. Enable feature flag security_dashboard_mttr_chart
  2. Go to group/project/organization security dashboard and validate the chart uses actual data from BE

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Lorenz van Herwaarden

Merge request reports

Loading
Loading