Migrate analytics REST API requests for DORA metrics to Graphql
Background
Value stream analytics and CI/CD Analytics use the REST api endpoints, we have been slowly improving the Graphql endpoints through the work in [Feature flag] Rollout of `vsd_graphql_dora_and... (#409499 - closed), Exec dashboards: expose all flow metrics via Gr... (#387162 - closed) and Exec dashboards: Refactor API requests from RES... (#384560 - closed)
TODO
-
Investigate if the current graphql endpoints can cover the current use cases -
Value Stream Analytics -
CI/CD Analytics
-
-
Replace REST api requests with Graphql -
Value Stream Analytics -
CI/CD Analytics
-
-
Migrate Vuex stores to Apollo - (this should be a separate issue) -
Decouple charts from Vuex -
Duration chart + Duration overview chart -
Type of work / tasks by type chart
-
-
Decouple create value stream form from Vuex -
Decouple VSA filters from Vuex
Potential issues
- Date range / aggregation issues - #405146 (potential blocker)
- Overfetching data, can we / do we need to exclude certain metrics from a request?
Edited by Ezekiel Kigbo