GitLab Duo
GitLab Duo AI metrics — per-user usage across Code Suggestions, Duo Chat, Code Review, Agent Platform, Job Troubleshooting, and MCP tool calls, plus the AI Catalog agents/flows configured for a group. Pairs with `gitlab` connector for code/MR operations.
Category ai platform
Capability matrix
Catalog declarations describe the connector. Review status and limits for qualification.
Declared capabilities
What the connector catalog declares for GitLab Duo. A declaration is not proof that it is qualified for your deployment; anything not yet qualified is listed on Status and limits.
- AI asset discovery
- Telara can read the AI assets this system holds into the AI Estate.
- Spend and usage
- Telara can collect AI spend and usage from this system.
How Telara applies
Policy applies to calls routed through Telara. Discovery and spend collection observe activity; they do not govern calls that bypass Telara.
- Spend observation
- Review the catalog declaration
- Asset discovery
- Review declared discovery
- MCP routing
- No MCP routing declaration
Declared actions (2)
resolve_group_idreadread — Internal helper. Resolves the connected group's GraphQL Global ID (gid://gitlab/Group/<id>) from its full path via GitLab's group search, because Duo Agent Platform / AI Catalog queries require the strict GroupID scalar rather than a plain numeric id or path. Call list_duo_agent_catalog_items instead of this directly.list_duo_agent_catalog_itemsreadlist — List the AI Catalog agents/flows configured for use in a GitLab group — GitLab Duo Agent Platform's real agent inventory surface. Each row is a group-level configuration (item + enabled state), not the shared catalog definition itself.
Catalog credential aliases gitlab_duo_pat, gitlab_duo_oauth.
Prerequisites
Get the credential
Permissions Telara requests
- read_apiOAuth 2.0
- read_userOAuth 2.0
Connect in Telara
GitLab Personal Access Token (or Group Access Token) with scopes: - `read_api` — sufficient for AiUserMetrics / AiMetrics / AiUsageData reads - `api` — required only if you also want to drive seat assignment via the userAddOnAssignmentBulkCreate mutation from the same credential Token must belong to a user with the Owner role on the target group (group-level GraphQL aiUserMetrics is owner-gated). Per GitLab docs: AiUserMetrics and AiMetrics require ClickHouse to be configured on the target instance — see retention notes above.
In Telara, open Settings → Integrations, choose this connector, and paste the token into the field Telara shows.
- Private token
OAuth flow for hosted gitlab.com. `read_api` is enough for spend metrics reads; add `api` if seat assignment is also delegated.
In Telara, open Settings → Integrations, choose this connector, and click Connect. Telara sends you to the vendor to approve access, then returns you here. You do not create an OAuth app or paste a client secret.
What gets measured
Method pull_admin_api. Cadence hourly.
Catalog status available. Tier team. Billing method admin_api.
Resolution: Per user per day.
Attribution: Matched to people by directory ID.
Declared vendor history windows 90 days.
- duo_total_eventsevents
- code_suggestions_eventsevents
- duo_chat_eventsevents
- code_review_eventsevents
- agent_platform_eventsevents
- troubleshoot_job_eventsevents
- mcp_tool_call_eventsevents
- code_suggestions_showncount
- code_suggestions_acceptedcount
- code_suggestions_shown_lineslines
- code_suggestions_accepted_lineslines
- duo_code_contributorsusers
- duo_chat_contributorsusers
- duo_used_usersusers
What gets discovered
Discovery method tool using list_duo_agent_catalog_items.
logical_agent
Freshness & sync
Indexing lag is not published for this connector. Review the declared collection method and cadence in the measurement section.
Permissions & data handling
The scopes above are the permissions this connector requests. They come from the catalog, not from a hand-written page.
This catalog entry does not declare extra semantic-search exclusions.
Verify it worked
The catalog does not declare a credential probe for this connector. Verify the connection path and source response before relying on a saved connection.
Known limitations
In the product
Screens from a Telara test workspace with sample data. Your workspace shows your own systems, people and policies.





