Skip to content

VSD drill-down links inherit labels from panel filter

Rudy Crespo requested to merge 419493-vsd-drilldown-links-label-params into master

What does this MR do and why?

Value Streams Dashboard drill-down links now inherit labels from panel filter when filter_labels are defined in value_streams.yaml configuration file.

Screenshots or screen recordings

Before After
Screen Recording 2023-10-13 at 4.32.31 PM.mov Screen Recording 2023-10-13 at 4.31.10 PM.mov

How to set up and validate locally

  1. Feature.enable(:combined_analytics_dashboards)
  2. Setup YAML configuration
  3. Visit any group/project that has VSA data or follow these steps:
    1. run SEED_CYCLE_ANALYTICS=true SEED_VSA=true FILTER=cycle_analytics rake db:seed_fu
    2. Visit the group value stream. The group URL is present in the output of the command above.
    3. Open rails console and run Analytics::CycleAnalytics::ReaggregationWorker.new.perform
    4. Refresh the group value stream and you should see data
    5. Click the Value Streams Dashboard | DORA link from the Value stream page
  4. Visit the value streams dashboard: http://${YOUR_INSTANCE}/groups/${YOUR_GROUP}/-/analytics/dashboards/value_streams_dashboard
  5. Apply some label filters to your YAML config file
  6. Click through each metric in a comparison table with label filters and verify that they are being applied to the underlying reports

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #419493 (closed)

Edited by Rudy Crespo

Merge request reports