Fill missing dates on VSA duration chart
What does this MR do and why?
This MR invokes Gitlab::Analytics::DateFiller
utility function when generating data for the duration chart in VSA. Reason: we want to return data (even if it's null) for every date within the requested range.
Screenshot: !97230 (comment 1096608446)
How to set up and validate locally
- Ensure that you're on Ultimate. Seed the VSA feature:
SEED_CYCLE_ANALYTICS=true SEED_VSA=true FILTER=cycle_analytics rake db:seed_fu
- Navigate to the Group.
- Go to
Analytics > Value Stream Analytics
and create a value stream. - Aggregate the data in rails console
Analytics::CycleAnalytics::IncrementalWorker.new.perform
- Go to the generated group and create a few group labels and assign them to issues
- Go to
Analytics > Value Stream Analytics
, data should show up. On the bottom, you should see your labels. - See if the chart renders
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Adam Hegyi