Add additional metrics to the AI impact analytics dashboard
What does this MR do and why?
Adds additional metrics to the AI impact analytics dashboard
Adds new metrics:
Merge request throughput
Code contributors
Median time to merge
Hides old metrics:
Cycle time
Change failure rate
Note: I chose to keep the old metrics hidden instead of removing them outright, since we plan to move VSD to use the same visualization here (#541330 (closed)). This MR will help progress that effort
References
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Ensure that you are using GitLab Ultimate
- Configure your GDK to use ClickHouse
- Enable this patch to apply the Duo AddOn
diff --git a/ee/app/models/ee/user.rb b/ee/app/models/ee/user.rb
index 5e38e942fe7b..4864d0a6e531 100644
--- a/ee/app/models/ee/user.rb
+++ b/ee/app/models/ee/user.rb
@@ -543,7 +543,7 @@ def assigned_to_duo_enterprise?(container)
.for_duo_enterprise
.active
.by_namespace(namespace)
- .assigned_to_user(self).exists?
+ .assigned_to_user(self).exists? || true
end
def assigned_to_duo_pro?(container)
- Navigate to the Analytics dashboard page for any group (ex. http://gdk.test:3000/groups/flightjs/-/analytics/dashboards)
- Select the
AI impact analytics
dashboard
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.
Related to #550351
Edited by Alex Pennells