Add DAP flows and chats metrics to the Duo usage metrics table

What does this MR do and why?

Adds the Duo Agent Platform flows and Duo Agent Platform chats metrics to the Duo usage metrics table of the GitLab Duo and SDLC trends analytics dashboard.

Screenshots or screen recordings

Screenshot_2025-12-09_at_5.06.32_PM

How to set up and validate locally

  1. Setup Clickhouse in your GDK: https://docs.gitlab.com/development/database/clickhouse/clickhouse_within_gitlab/#gdk-setup
  2. Run FILTER=ai_usage_stats bundle exec rake db:seed_fu
  3. Navigate to Analyze > Analytics dashboards > GitLab Duo and SDLC trends for any group or project
  4. Validate that the Duo Agent Platform flows and Duo Agent Platform chats metrics are rendered in the Duo usage metrics table

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 #583375

Edited by Rudy Crespo

Merge request reports

Loading