VSD - Add provider to resolve panel namespaces
What does this MR do and why?
VSD resolve namespace within dora comparison chart
Removes the need for the additional isProject
prop on the
dora comparison chart. This allows us to align the VSD YAML
config with the shared analytics dashboard YAML configs.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
No visual changes
How to set up and validate locally
Setup
- Please make sure that you have a GitLab Ultimate license
- Enable the
group_analytics_dashboard_dynamic_vsd
feature flag$ Feature.enable(:group_analytics_dashboard_dynamic_vsd)
Built in dashboard
- Create a group or select an existing one
- Navigate to
Analyze
>Analytics Dashboards
in the left hand menu - Select
Value streams dashboard
from the dashboard list, the dashboard should render
Custom YAML config
Note: the currently documented schema is in the process of being updated to align with shared analytics.
- Follow the instructions to add a YAML configuration for the group, but you will need to use this example below for your schema:
title: 'Custom Dashboard title' description: 'Custom description' panels: - title: 'My Custom Project' visualization: dora_chart gridAttributes: yPos: 1 xPos: 0 width: 12 height: 6 queryOverrides: namespace: path-to-group/project # for example vsd-config-test/dora-project - title: "cool title!" visualization: dora_chart gridAttributes: yPos: 7 xPos: 0 width: 12 height: 6 queryOverrides: namespace: path-to-group/project # for example vsd-config-test/dora-project
- Navigate to
Analyze
>Analytics Dashboards
in the left hand menu - There will be 2 dashboards available in the dashboard list (Value Streams Dashboard + Your custom YAML dashboard)
- Check both dashboards
Edited by Ezekiel Kigbo