Add DAP flows and chat to the Duo usage metrics table

Summary

Add two new table rows to the Duo usage metrics table on the GitLab Duo and SDLC trends analytics dashboard.

Screenshot_2025-12-08_at_2.41.25_PM

Related:

  • Original issue: #570563 (closed)
  • Thread that this issue was created for: #570563 (comment 2938533998)
  • backend MR: !215316 (merged)

Implementation

The Chat metric data can be fetched via the filtered query:

query {
  group(fullPath: "toolbox") {
    name
    
    aiMetrics {
      agentPlatform(flowTypes: ["duo_chat"]) {
        startedSessionEventCount
      }
    }
  }

The Flows metric data can be fetched using the inverse of the Chat query:

query {
  group(fullPath: "toolbox") {
    name
    
    aiMetrics {
      agentPlatform(not: { flowTypes: ["duo_chat"] }) {
        startedSessionEventCount
      }
    }
  }
Edited Dec 09, 2025 by Alex Pennells
Assignee Loading
Time tracking Loading