---
title: GitHub Copilot
description: >-
  Monitor GitHub Copilot usage across completions, chat, agent mode, and pull
  requests.
breadcrumbs: Docs > Integrations > GitHub Copilot
---

# GitHub Copilot
Integration version2.0.0        GitHub Copilot Overview DashboardGitHub Copilot Code CompletionGitHub Copilot Languages BreakdownGitHub Copilot IDE Chat
## Overview{% #overview %}

**Warning**: **Action required before April 2, 2026**: Enable the new Copilot usage API endpoints in your GitHub account ([organizations](https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies#enabling-copilot-features-and-models-in-your-organization) | [enterprises](https://docs.github.com/en/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies#defining-policies-for-your-enterprise)). No changes are needed in Datadog.

**Why**: Copilot has evolved beyond inline code completions into a full AI agent. The new API unlocks visibility into how your teams use Copilot's agent capabilities: code generated autonomously by the agent, interactions with agent plan mode, agent edit mode, and more. Without enabling the new API, you'll lose metrics coverage after April 2.

Datadog's [GitHub Copilot](https://github.com/features/copilot) integration collects metrics from GitHub's Copilot Usage API, giving you visibility into how Copilot is being used across your enterprise and organizations.

This integration covers every Copilot surface: code completions, chat, agent mode, plan mode, CLI, and pull requests. Metrics are broken down by team, language, IDE, editor, and repository, with user-level granularity.

With this integration, you can:

- **Track every Copilot surface**: Code completions, chat interactions (ask, edit, plan, agent, and custom modes), agent mode edits, plan mode telemetry, CLI sessions, and PR workflows.
- **Measure code generation impact**: See lines of code suggested versus accepted across all modes. Track PRs created, reviewed, merged, and Copilot-authored.
- **Get user-level granularity**: Break down adoption per individual developer, not just org- or team-level aggregates.
- **Track daily and weekly active users**: See how many developers are actively using Copilot and how that trends over time.
- **Monitor license spend**: Get real-time visibility into seat assignments for the current billing cycle.

### Collected metrics{% #collected-metrics %}

Metrics are reported under the `github_copilot.usage.*` namespace, with granular breakdowns by team, language, IDE, editor, and repository:

- **Code completions**: Suggestion counts, acceptance rates, and lines of code (suggested versus accepted) across VS Code, JetBrains, Eclipse, Xcode, and more.
- **Chat**: Breakdowns by mode: ask, edit, plan, agent, and custom. Covers both IDE and GitHub.com chat.
- **Agent mode**: Edits performed, lines added and deleted by agents.
- **Plan mode**: Telemetry across JetBrains, Eclipse, Xcode, and VS Code.
- **CLI (enterprise only)**: Session counts, request volumes, and token usage.
- **Pull requests**: Full lifecycle: PRs created, reviewed, merged, and Copilot-authored.
- **User engagement**: Daily and weekly active user counts. Distinguishes between active users (any Copilot activity) and engaged users (accepted a suggestion, generated a PR summary, and so on).
- **Billing**: Seat assignments for the current billing cycle, continuously refreshed.

## Setup{% #setup %}

To integrate GitHub Copilot with Datadog, Datadog connects to GitHub using OAuth. The authenticated user must have owner permissions in the enterprise or organizations that want to be integrated.

### Installation{% #installation %}

1. Navigate to the [Integrations Page](https://app.datadoghq.com/integrations/github-copilot) and search for the "GitHub Copilot" Integration.
1. Click the tile.
1. To add an account to install the integration, click the **Add GitHub Account** button.
1. After reading the instructions in the modal, click the **Authorize Organizations** or **Authorize Enterprise Cloud** button, which redirects you to the GitHub login page.
1. After logging in, you are prompted to select which GitHub organizations you want to grant access to, based on the organizations that your user account has access to.
1. For restricted organizations:
   - Click **Request** beside the organization name
   - Org admins: approve in **Organization settings > Third-party Access > OAuth app policy**
1. Click **Authorize datadog-integrations**.
1. You're redirected back to Datadog's GitHub Copilot tile with a new account. Datadog recommends changing the account name to something that is easier to remember. You can add multiple accounts with access to different organizations.

**Note**: GitHub saves this authorization selection. To be prompted again or add new organizations, revoke app access in GitHub (`Integrations > Applications > Authorized OAuth Apps > Datadog - GitHub Copilot OAuth App`), then restart the setup process. 

## Validation{% #validation %}

After installation, metrics are available with the prefix `github_copilot`.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **github\_copilot.organizations.billing.seats.total**(count)                                                                          | The total number of seats being billed for the organization as of the current billing cycle.                                                                                                                                                                                                                                                                                    |
| **github\_copilot.organizations.billing.seats.added\_this\_cycle**(count)                                                             | Seats added during the current billing cycle.                                                                                                                                                                                                                                                                                                                                   |
| **github\_copilot.organizations.billing.seats.pending\_invitation**(count)                                                            | The number of seats that have been assigned to users that have not yet accepted an invitation to this organization.                                                                                                                                                                                                                                                             |
| **github\_copilot.organizations.billing.seats.pending\_cancellation**(count)                                                          | The number of seats that are pending cancellation at the end of the current billing cycle.                                                                                                                                                                                                                                                                                      |
| **github\_copilot.organizations.billing.seats.active\_this\_cycle**(count)                                                            | The number of seats that have used Copilot during the current billing cycle.                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.organizations.billing.seats.inactive\_this\_cycle**(count)                                                          | The number of seats that have not used Copilot during the current billing cycle.                                                                                                                                                                                                                                                                                                |
| **github\_copilot.organizations.total\_active\_users**(count)                                                                         | The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint. |
| **github\_copilot.organizations.total\_engaged\_users**(count)                                                                        | The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint.                                                 |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.total\_engaged\_users**(count)                                        | Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances.                                                                                                                                                                                                                                       |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.languages.total\_engaged\_users**(count)                              | Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances.                                                                                                                                                                                                                                |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.editors.total\_engaged\_users**(count)                                | Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances.                                                                                                                                                                                                                                  |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.editors.models.total\_engaged\_users**(count)                         | Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances.                                                                                                                                                                                                |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.editors.models.languages.total\_engaged\_users**(count)               | Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances.                                                                                                                                                                                                          |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_suggestions**(count)            | The number of Copilot code suggestions generated for the given editor, for the given language.                                                                                                                                                                                                                                                                                  |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_acceptances**(count)            | The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances.                                                                                                                                                                                                                                       |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_lines\_accepted**(count)        | The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language                                                                                                                                                                                                                                                                 |
| **github\_copilot.organizations.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_lines\_suggested**(count)       | The number of lines of code suggested by Copilot code completions for the given editor, for the given language.                                                                                                                                                                                                                                                                 |
| **github\_copilot.organizations.copilot\_ide\_chat.total\_engaged\_users**(count)                                                     | Total number of users who prompted Copilot Chat in the IDE.                                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.copilot\_ide\_chat.editors.total\_engaged\_users**(count)                                             | The number of users who prompted Copilot Chat in the specified editor.                                                                                                                                                                                                                                                                                                          |
| **github\_copilot.organizations.copilot\_ide\_chat.editors.models.total\_engaged\_users**(count)                                      | The number of users who prompted Copilot Chat in the given editor and model.                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.organizations.copilot\_ide\_chat.editors.models.total\_chats**(count)                                               | The total number of chats initiated by users in the given editor and model.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.copilot\_ide\_chat.editors.models.total\_chat\_insertion\_events**(count)                             | The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor.                                                                                                                                                                                                                                                |
| **github\_copilot.organizations.copilot\_ide\_chat.editors.models.total\_chat\_copy\_events**(count)                                  | The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor.                                                                                                                                                                                                                                        |
| **github\_copilot.organizations.copilot\_dotcom\_chat.total\_engaged\_users**(count)                                                  | Total number of users who prompted Copilot Chat on github.com at least once.                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.organizations.copilot\_dotcom\_chat.models.total\_engaged\_users**(count)                                           | Total number of users who prompted Copilot Chat on github.com at least once for each model.                                                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.copilot\_dotcom\_chat.models.total\_chats**(count)                                                    | Total number of chats initiated by users on github.com.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.organizations.copilot\_dotcom\_pull\_requests.total\_engaged\_users**(count)                                        | The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once.                                                                                                                                                                                                                                                          |
| **github\_copilot.organizations.copilot\_dotcom\_pull\_requests.repositories.total\_engaged\_users**(count)                           | The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository.                                                                                                                                                                                                                                                               |
| **github\_copilot.organizations.copilot\_dotcom\_pull\_requests.repositories.models.total\_engaged\_users**(count)                    | The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model.                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.copilot\_dotcom\_pull\_requests.repositories.models.total\_pr\_summaries\_created**(count)            | The number of pull request summaries generated using Copilot for Pull Requests in the given repository.                                                                                                                                                                                                                                                                         |
| **github\_copilot.organizations.teams.total\_active\_users**(count)                                                                   | The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint. |
| **github\_copilot.organizations.teams.total\_engaged\_users**(count)                                                                  | The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint.                                                 |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.total\_engaged\_users**(count)                                  | Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances.                                                                                                                                                                                                                                       |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.languages.total\_engaged\_users**(count)                        | Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances.                                                                                                                                                                                                                                |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.editors.total\_engaged\_users**(count)                          | Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances.                                                                                                                                                                                                                                  |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.editors.models.total\_engaged\_users**(count)                   | Number of users who accepted at least one Copilot code completion suggestion for the given editor and model. Includes both full and partial acceptances.                                                                                                                                                                                                                        |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.editors.models.languages.total\_engaged\_users**(count)         | Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances                                                                                                                                                                                                 |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_suggestions**(count)      | The number of Copilot code suggestions generated for the given editor, for the given language and model.                                                                                                                                                                                                                                                                        |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_acceptances**(count)      | The number of Copilot code suggestions accepted for the given editor, for the given language and model. Includes both full and partial acceptances.                                                                                                                                                                                                                             |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_lines\_accepted**(count)  | The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language and model.                                                                                                                                                                                                                                                      |
| **github\_copilot.organizations.teams.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_lines\_suggested**(count) | The number of lines of code suggested by Copilot code completions for the given editor, for the given language and model.                                                                                                                                                                                                                                                       |
| **github\_copilot.organizations.teams.copilot\_ide\_chat.total\_engaged\_users**(count)                                               | Total number of users who prompted Copilot Chat in the IDE.                                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.teams.copilot\_ide\_chat.editors.total\_engaged\_users**(count)                                       | The number of users who prompted Copilot Chat in the specified editor.                                                                                                                                                                                                                                                                                                          |
| **github\_copilot.organizations.teams.copilot\_ide\_chat.editors.models.total\_engaged\_users**(count)                                | The number of users who prompted Copilot Chat in the given editor and model.                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.organizations.teams.copilot\_ide\_chat.editors.models.total\_chats**(count)                                         | The total number of chats initiated by users in the given editor and model.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.teams.copilot\_ide\_chat.editors.models.total\_chat\_insertion\_events**(count)                       | The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor.                                                                                                                                                                                                                                                |
| **github\_copilot.organizations.teams.copilot\_ide\_chat.editors.models.total\_chat\_copy\_events**(count)                            | The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor.                                                                                                                                                                                                                                        |
| **github\_copilot.organizations.teams.copilot\_dotcom\_chat.total\_engaged\_users**(count)                                            | Total number of users who prompted Copilot Chat on github.com at least once.                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.organizations.teams.copilot\_dotcom\_chat.models.total\_engaged\_users**(count)                                     | Total number of users who prompted Copilot Chat on github.com at least once for each model.                                                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.teams.copilot\_dotcom\_chat.models.total\_chats**(count)                                              | Total number of chats initiated by users on github.com.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.organizations.teams.copilot\_dotcom\_pull\_requests.total\_engaged\_users**(count)                                  | The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once.                                                                                                                                                                                                                                                          |
| **github\_copilot.organizations.teams.copilot\_dotcom\_pull\_requests.repositories.total\_engaged\_users**(count)                     | The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository.                                                                                                                                                                                                                                                               |
| **github\_copilot.organizations.teams.copilot\_dotcom\_pull\_requests.repositories.models.total\_engaged\_users**(count)              | The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model.                                                                                                                                                                                                                                                     |
| **github\_copilot.organizations.teams.copilot\_dotcom\_pull\_requests.repositories.models.total\_pr\_summaries\_created**(count)      | The number of pull request summaries generated using Copilot for Pull Requests in the given repository.                                                                                                                                                                                                                                                                         |
| **github\_copilot.enterprises.billing.seats.total**(count)                                                                            | The total number of seats being billed as of the current billing cycle.                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.enterprises.total\_active\_users**(count)                                                                           | The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint. |
| **github\_copilot.enterprises.total\_engaged\_users**(count)                                                                          | The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint.                                                 |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.total\_engaged\_users**(count)                                          | Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances.                                                                                                                                                                                                                                       |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.languages.total\_engaged\_users**(count)                                | Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances.                                                                                                                                                                                                                                |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.editors.total\_engaged\_users**(count)                                  | Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances.                                                                                                                                                                                                                                  |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.editors.models.total\_engaged\_users**(count)                           | Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances.                                                                                                                                                                                                |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.editors.models.languages.total\_engaged\_users**(count)                 | Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances.                                                                                                                                                                                                          |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_suggestions**(count)              | The number of Copilot code suggestions generated for the given editor, for the given language.                                                                                                                                                                                                                                                                                  |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_acceptances**(count)              | The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances.                                                                                                                                                                                                                                       |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_lines\_accepted**(count)          | The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language.                                                                                                                                                                                                                                                                |
| **github\_copilot.enterprises.copilot\_ide\_code\_completions.editors.models.languages.total\_code\_lines\_suggested**(count)         | The number of lines of code suggested by Copilot code completions for the given editor, for the given language.                                                                                                                                                                                                                                                                 |
| **github\_copilot.enterprises.copilot\_ide\_chat.total\_engaged\_users**(count)                                                       | Total number of users who prompted Copilot Chat in the IDE.                                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.enterprises.copilot\_ide\_chat.editors.total\_engaged\_users**(count)                                               | The number of users who prompted Copilot Chat in the specified editor.                                                                                                                                                                                                                                                                                                          |
| **github\_copilot.enterprises.copilot\_ide\_chat.editors.models.total\_engaged\_users**(count)                                        | The number of users who prompted Copilot Chat in the given editor and model.                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.enterprises.copilot\_ide\_chat.editors.models.total\_chats**(count)                                                 | The total number of chats initiated by users in the given editor and model.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.enterprises.copilot\_ide\_chat.editors.models.total\_chat\_insertion\_events**(count)                               | The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor.                                                                                                                                                                                                                                                |
| **github\_copilot.enterprises.copilot\_ide\_chat.editors.models.total\_chat\_copy\_events**(count)                                    | The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor.                                                                                                                                                                                                                                        |
| **github\_copilot.enterprises.copilot\_dotcom\_chat.total\_engaged\_users**(count)                                                    | Total number of users who prompted Copilot Chat on github.com at least once.                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.enterprises.copilot\_dotcom\_chat.models.total\_engaged\_users**(count)                                             | Total number of users who prompted Copilot Chat on github.com at least once for each model.                                                                                                                                                                                                                                                                                     |
| **github\_copilot.enterprises.copilot\_dotcom\_chat.models.total\_chats**(count)                                                      | Total number of chats initiated by users on github.com.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.enterprises.copilot\_dotcom\_pull\_requests.total\_engaged\_users**(count)                                          | The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once.                                                                                                                                                                                                                                                          |
| **github\_copilot.enterprises.copilot\_dotcom\_pull\_requests.repositories.total\_engaged\_users**(count)                             | The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository.                                                                                                                                                                                                                                                               |
| **github\_copilot.enterprises.copilot\_dotcom\_pull\_requests.repositories.models.total\_engaged\_users**(count)                      | The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model.                                                                                                                                                                                                                                                     |
| **github\_copilot.enterprises.copilot\_dotcom\_pull\_requests.repositories.models.total\_pr\_summaries\_created**(count)              | The number of pull request summaries generated using Copilot for Pull Requests in the given repository.                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.daily\_active\_users**(count)                                                                   | Number of unique users who used Copilot on a given day.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.daily\_active\_cli\_users**(count)                                                              | Number of unique users who used Copilot via the CLI on a given day.                                                                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.weekly\_active\_users**(count)                                                                  | Number of unique users who used Copilot during a seven-day window.                                                                                                                                                                                                                                                                                                              |
| **github\_copilot.usage.organizations.monthly\_active\_users**(count)                                                                 | Number of unique users who used Copilot during the last 28 days.                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.monthly\_active\_chat\_users**(count)                                                           | Number of unique users who used Copilot Chat during the last 28 days.                                                                                                                                                                                                                                                                                                           |
| **github\_copilot.usage.organizations.monthly\_active\_agent\_users**(count)                                                          | Number of unique users who used Copilot agent mode during the last 28 days.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.organizations.user\_initiated\_interaction\_count**(count)                                                    | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model.                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.code\_generation\_activity\_count**(count)                                                      | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings.                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.code\_acceptance\_activity\_count**(count)                                                      | Number of suggestions or code blocks accepted by users.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.loc\_suggested\_to\_add\_sum**(count)                                                           | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits).                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.loc\_suggested\_to\_delete\_sum**(count)                                                        | Total lines of code Copilot suggested to delete.                                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.loc\_added\_sum**(count)                                                                        | Total lines of code actually added to the editor (accepted completions and applied code blocks).                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.loc\_deleted\_sum**(count)                                                                      | Total lines of code deleted from the editor (currently from agent edits).                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.by\_ide.user\_initiated\_interaction\_count**(count)                                            | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by IDE.                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.organizations.by\_ide.code\_generation\_activity\_count**(count)                                              | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by IDE.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.by\_ide.code\_acceptance\_activity\_count**(count)                                              | Number of suggestions or code blocks accepted by users. Broken down by IDE.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.organizations.by\_ide.loc\_suggested\_to\_add\_sum**(count)                                                   | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.organizations.by\_ide.loc\_suggested\_to\_delete\_sum**(count)                                                | Total lines of code Copilot suggested to delete. Broken down by IDE.                                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.by\_ide.loc\_added\_sum**(count)                                                                | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by IDE.                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.by\_ide.loc\_deleted\_sum**(count)                                                              | Total lines of code deleted from the editor (currently from agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                                   |
| **github\_copilot.usage.organizations.by\_feature.user\_initiated\_interaction\_count**(count)                                        | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by Copilot feature.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.by\_feature.code\_generation\_activity\_count**(count)                                          | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.by\_feature.code\_acceptance\_activity\_count**(count)                                          | Number of suggestions or code blocks accepted by users. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.by\_feature.loc\_suggested\_to\_add\_sum**(count)                                               | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.by\_feature.loc\_suggested\_to\_delete\_sum**(count)                                            | Total lines of code Copilot suggested to delete. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.by\_feature.loc\_added\_sum**(count)                                                            | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by Copilot feature.                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.by\_feature.loc\_deleted\_sum**(count)                                                          | Total lines of code deleted from the editor (currently from agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.by\_language\_feature.user\_initiated\_interaction\_count**(count)                              | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.by\_language\_feature.code\_generation\_activity\_count**(count)                                | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and Copilot feature.                                                                                                                                                                                                    |
| **github\_copilot.usage.organizations.by\_language\_feature.code\_acceptance\_activity\_count**(count)                                | Number of suggestions or code blocks accepted by users. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.by\_language\_feature.loc\_suggested\_to\_add\_sum**(count)                                     | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.by\_language\_feature.loc\_suggested\_to\_delete\_sum**(count)                                  | Total lines of code Copilot suggested to delete. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.by\_language\_feature.loc\_added\_sum**(count)                                                  | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.by\_language\_feature.loc\_deleted\_sum**(count)                                                | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                              |
| **github\_copilot.usage.organizations.by\_language\_model.user\_initiated\_interaction\_count**(count)                                | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and model.                                                                                                                                                                                                                          |
| **github\_copilot.usage.organizations.by\_language\_model.code\_generation\_activity\_count**(count)                                  | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and model.                                                                                                                                                                                                              |
| **github\_copilot.usage.organizations.by\_language\_model.code\_acceptance\_activity\_count**(count)                                  | Number of suggestions or code blocks accepted by users. Broken down by programming language and model.                                                                                                                                                                                                                                                                          |
| **github\_copilot.usage.organizations.by\_language\_model.loc\_suggested\_to\_add\_sum**(count)                                       | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.by\_language\_model.loc\_suggested\_to\_delete\_sum**(count)                                    | Total lines of code Copilot suggested to delete. Broken down by programming language and model.                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.organizations.by\_language\_model.loc\_added\_sum**(count)                                                    | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and model.                                                                                                                                                                                                                                 |
| **github\_copilot.usage.organizations.by\_language\_model.loc\_deleted\_sum**(count)                                                  | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                                        |
| **github\_copilot.usage.organizations.by\_model\_feature.user\_initiated\_interaction\_count**(count)                                 | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by model and Copilot feature.                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.by\_model\_feature.code\_generation\_activity\_count**(count)                                   | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by model and Copilot feature.                                                                                                                                                                                                                   |
| **github\_copilot.usage.organizations.by\_model\_feature.code\_acceptance\_activity\_count**(count)                                   | Number of suggestions or code blocks accepted by users. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.by\_model\_feature.loc\_suggested\_to\_add\_sum**(count)                                        | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.by\_model\_feature.loc\_suggested\_to\_delete\_sum**(count)                                     | Total lines of code Copilot suggested to delete. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.by\_model\_feature.loc\_added\_sum**(count)                                                     | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by model and Copilot feature.                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.by\_model\_feature.loc\_deleted\_sum**(count)                                                   | Total lines of code deleted from the editor (currently from agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.cli.session\_count**(count)                                                                     | Number of distinct Copilot CLI sessions initiated on this day.                                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.organizations.cli.request\_count**(count)                                                                     | Total number of requests made to Copilot via the CLI on this day.                                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.cli.prompt\_count**(count)                                                                      | Total number of user prompts or commands sent to Copilot via the CLI on this day.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.cli.token\_usage.output\_tokens\_sum**(count)                                                   | Total number of output tokens generated across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.cli.token\_usage.prompt\_tokens\_sum**(count)                                                   | Total number of prompt tokens sent across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.organizations.cli.token\_usage.avg\_tokens\_per\_request**(count)                                             | Average number of tokens (prompt and output) per Copilot CLI request on this day.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.pull\_requests.total\_reviewed**(count)                                                         | Total number of pull requests reviewed on this day.                                                                                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.pull\_requests.total\_created**(count)                                                          | Total number of pull requests created on this day.                                                                                                                                                                                                                                                                                                                              |
| **github\_copilot.usage.organizations.pull\_requests.total\_created\_by\_copilot**(count)                                             | Number of pull requests created by Copilot on this day.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.pull\_requests.total\_reviewed\_by\_copilot**(count)                                            | Number of pull requests reviewed by Copilot on this day.                                                                                                                                                                                                                                                                                                                        |
| **github\_copilot.usage.organizations.pull\_requests.total\_merged**(count)                                                           | Total number of pull requests merged on this day.                                                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.pull\_requests.total\_suggestions**(count)                                                      | Total number of pull request review suggestions generated on this day.                                                                                                                                                                                                                                                                                                          |
| **github\_copilot.usage.organizations.pull\_requests.total\_applied\_suggestions**(count)                                             | Total number of pull request review suggestions that were applied.                                                                                                                                                                                                                                                                                                              |
| **github\_copilot.usage.organizations.pull\_requests.total\_merged\_created\_by\_copilot**(count)                                     | Number of pull requests created by Copilot that were merged.                                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.usage.organizations.pull\_requests.total\_copilot\_suggestions**(count)                                             | Number of pull request review suggestions generated by Copilot.                                                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.organizations.pull\_requests.total\_copilot\_applied\_suggestions**(count)                                    | Number of pull request review suggestions generated by Copilot that were applied.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.daily\_active\_users**(count)                                                                     | Number of unique users who used Copilot on a given day.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.daily\_active\_cli\_users**(count)                                                                | Number of unique users who used Copilot via the CLI on a given day.                                                                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.weekly\_active\_users**(count)                                                                    | Number of unique users who used Copilot during a seven-day window.                                                                                                                                                                                                                                                                                                              |
| **github\_copilot.usage.enterprises.monthly\_active\_users**(count)                                                                   | Number of unique users who used Copilot during the last 28 days.                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.monthly\_active\_chat\_users**(count)                                                             | Number of unique users who used Copilot Chat during the last 28 days.                                                                                                                                                                                                                                                                                                           |
| **github\_copilot.usage.enterprises.monthly\_active\_agent\_users**(count)                                                            | Number of unique users who used Copilot agent mode during the last 28 days.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.enterprises.user\_initiated\_interaction\_count**(count)                                                      | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model.                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.code\_generation\_activity\_count**(count)                                                        | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings.                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.code\_acceptance\_activity\_count**(count)                                                        | Number of suggestions or code blocks accepted by users.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.loc\_suggested\_to\_add\_sum**(count)                                                             | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits).                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.loc\_suggested\_to\_delete\_sum**(count)                                                          | Total lines of code Copilot suggested to delete.                                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.loc\_added\_sum**(count)                                                                          | Total lines of code actually added to the editor (accepted completions and applied code blocks).                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.loc\_deleted\_sum**(count)                                                                        | Total lines of code deleted from the editor (currently from agent edits).                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.by\_ide.user\_initiated\_interaction\_count**(count)                                              | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by IDE.                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.enterprises.by\_ide.code\_generation\_activity\_count**(count)                                                | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by IDE.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.by\_ide.code\_acceptance\_activity\_count**(count)                                                | Number of suggestions or code blocks accepted by users. Broken down by IDE.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.enterprises.by\_ide.loc\_suggested\_to\_add\_sum**(count)                                                     | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.enterprises.by\_ide.loc\_suggested\_to\_delete\_sum**(count)                                                  | Total lines of code Copilot suggested to delete. Broken down by IDE.                                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.by\_ide.loc\_added\_sum**(count)                                                                  | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by IDE.                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.by\_ide.loc\_deleted\_sum**(count)                                                                | Total lines of code deleted from the editor (currently from agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                                   |
| **github\_copilot.usage.enterprises.by\_feature.user\_initiated\_interaction\_count**(count)                                          | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by Copilot feature.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.by\_feature.code\_generation\_activity\_count**(count)                                            | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.by\_feature.code\_acceptance\_activity\_count**(count)                                            | Number of suggestions or code blocks accepted by users. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.by\_feature.loc\_suggested\_to\_add\_sum**(count)                                                 | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.by\_feature.loc\_suggested\_to\_delete\_sum**(count)                                              | Total lines of code Copilot suggested to delete. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.by\_feature.loc\_added\_sum**(count)                                                              | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by Copilot feature.                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.by\_feature.loc\_deleted\_sum**(count)                                                            | Total lines of code deleted from the editor (currently from agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.by\_language\_feature.user\_initiated\_interaction\_count**(count)                                | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.by\_language\_feature.code\_generation\_activity\_count**(count)                                  | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and Copilot feature.                                                                                                                                                                                                    |
| **github\_copilot.usage.enterprises.by\_language\_feature.code\_acceptance\_activity\_count**(count)                                  | Number of suggestions or code blocks accepted by users. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.by\_language\_feature.loc\_suggested\_to\_add\_sum**(count)                                       | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.by\_language\_feature.loc\_suggested\_to\_delete\_sum**(count)                                    | Total lines of code Copilot suggested to delete. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.by\_language\_feature.loc\_added\_sum**(count)                                                    | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.by\_language\_feature.loc\_deleted\_sum**(count)                                                  | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                              |
| **github\_copilot.usage.enterprises.by\_language\_model.user\_initiated\_interaction\_count**(count)                                  | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and model.                                                                                                                                                                                                                          |
| **github\_copilot.usage.enterprises.by\_language\_model.code\_generation\_activity\_count**(count)                                    | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and model.                                                                                                                                                                                                              |
| **github\_copilot.usage.enterprises.by\_language\_model.code\_acceptance\_activity\_count**(count)                                    | Number of suggestions or code blocks accepted by users. Broken down by programming language and model.                                                                                                                                                                                                                                                                          |
| **github\_copilot.usage.enterprises.by\_language\_model.loc\_suggested\_to\_add\_sum**(count)                                         | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.by\_language\_model.loc\_suggested\_to\_delete\_sum**(count)                                      | Total lines of code Copilot suggested to delete. Broken down by programming language and model.                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.enterprises.by\_language\_model.loc\_added\_sum**(count)                                                      | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and model.                                                                                                                                                                                                                                 |
| **github\_copilot.usage.enterprises.by\_language\_model.loc\_deleted\_sum**(count)                                                    | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                                        |
| **github\_copilot.usage.enterprises.by\_model\_feature.user\_initiated\_interaction\_count**(count)                                   | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by model and Copilot feature.                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.by\_model\_feature.code\_generation\_activity\_count**(count)                                     | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by model and Copilot feature.                                                                                                                                                                                                                   |
| **github\_copilot.usage.enterprises.by\_model\_feature.code\_acceptance\_activity\_count**(count)                                     | Number of suggestions or code blocks accepted by users. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.by\_model\_feature.loc\_suggested\_to\_add\_sum**(count)                                          | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.by\_model\_feature.loc\_suggested\_to\_delete\_sum**(count)                                       | Total lines of code Copilot suggested to delete. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.by\_model\_feature.loc\_added\_sum**(count)                                                       | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by model and Copilot feature.                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.by\_model\_feature.loc\_deleted\_sum**(count)                                                     | Total lines of code deleted from the editor (currently from agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.cli.session\_count**(count)                                                                       | Number of distinct Copilot CLI sessions initiated on this day.                                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.enterprises.cli.request\_count**(count)                                                                       | Total number of requests made to Copilot via the CLI on this day.                                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.cli.prompt\_count**(count)                                                                        | Total number of user prompts or commands sent to Copilot via the CLI on this day.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.cli.token\_usage.output\_tokens\_sum**(count)                                                     | Total number of output tokens generated across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.cli.token\_usage.prompt\_tokens\_sum**(count)                                                     | Total number of prompt tokens sent across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.enterprises.cli.token\_usage.avg\_tokens\_per\_request**(count)                                               | Average number of tokens (prompt and output) per Copilot CLI request on this day.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.pull\_requests.total\_reviewed**(count)                                                           | Total number of pull requests reviewed on this day.                                                                                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.pull\_requests.total\_created**(count)                                                            | Total number of pull requests created on this day.                                                                                                                                                                                                                                                                                                                              |
| **github\_copilot.usage.enterprises.pull\_requests.total\_created\_by\_copilot**(count)                                               | Number of pull requests created by Copilot on this day.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.pull\_requests.total\_reviewed\_by\_copilot**(count)                                              | Number of pull requests reviewed by Copilot on this day.                                                                                                                                                                                                                                                                                                                        |
| **github\_copilot.usage.enterprises.pull\_requests.total\_merged**(count)                                                             | Total number of pull requests merged on this day.                                                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.pull\_requests.total\_suggestions**(count)                                                        | Total number of pull request review suggestions generated on this day.                                                                                                                                                                                                                                                                                                          |
| **github\_copilot.usage.enterprises.pull\_requests.total\_applied\_suggestions**(count)                                               | Total number of pull request review suggestions that were applied.                                                                                                                                                                                                                                                                                                              |
| **github\_copilot.usage.enterprises.pull\_requests.total\_merged\_created\_by\_copilot**(count)                                       | Number of pull requests created by Copilot that were merged.                                                                                                                                                                                                                                                                                                                    |
| **github\_copilot.usage.enterprises.pull\_requests.total\_copilot\_suggestions**(count)                                               | Number of pull request review suggestions generated by Copilot.                                                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.enterprises.pull\_requests.total\_copilot\_applied\_suggestions**(count)                                      | Number of pull request review suggestions generated by Copilot that were applied.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.users.user\_initiated\_interaction\_count**(count)                                              | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model.                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.users.code\_generation\_activity\_count**(count)                                                | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings.                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.users.code\_acceptance\_activity\_count**(count)                                                | Number of suggestions or code blocks accepted by users.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.users.loc\_suggested\_to\_add\_sum**(count)                                                     | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits).                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.users.loc\_suggested\_to\_delete\_sum**(count)                                                  | Total lines of code Copilot suggested to delete.                                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.users.loc\_added\_sum**(count)                                                                  | Total lines of code actually added to the editor (accepted completions and applied code blocks).                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.users.loc\_deleted\_sum**(count)                                                                | Total lines of code deleted from the editor (currently from agent edits).                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.users.chat\_panel\_agent\_mode**(count)                                                         | Number of times the user used the chat panel in agent mode.                                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.organizations.users.chat\_panel\_ask\_mode**(count)                                                           | Number of times the user used the chat panel in ask mode.                                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.users.chat\_panel\_edit\_mode**(count)                                                          | Number of times the user used the chat panel in edit mode.                                                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.users.chat\_panel\_custom\_mode**(count)                                                        | Number of times the user used the chat panel in a custom mode.                                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.organizations.users.chat\_panel\_unknown\_mode**(count)                                                       | Number of times the user used the chat panel in an unknown mode.                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.users.used\_agent**(count)                                                                      | Whether the user used Copilot agent mode on this day (1 if yes; 0 if no).                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.users.used\_chat**(count)                                                                       | Whether the user used Copilot Chat in the IDE on this day (1 if yes; 0 if no).                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.organizations.users.cli.session\_count**(count)                                                               | Number of distinct Copilot CLI sessions initiated on this day.                                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.organizations.users.cli.request\_count**(count)                                                               | Total number of requests made to Copilot via the CLI on this day.                                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.users.cli.token\_usage.output\_tokens\_sum**(count)                                             | Total number of output tokens generated across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.users.cli.token\_usage.prompt\_tokens\_sum**(count)                                             | Total number of prompt tokens sent across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.organizations.users.cli.token\_usage.avg\_tokens\_per\_request**(count)                                       | Average number of tokens (prompt and output) per Copilot CLI request on this day.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.users.by\_ide.user\_initiated\_interaction\_count**(count)                                      | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by IDE.                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.organizations.users.by\_ide.code\_generation\_activity\_count**(count)                                        | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by IDE.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.users.by\_ide.code\_acceptance\_activity\_count**(count)                                        | Number of suggestions or code blocks accepted by users. Broken down by IDE.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.organizations.users.by\_ide.loc\_suggested\_to\_add\_sum**(count)                                             | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.organizations.users.by\_ide.loc\_suggested\_to\_delete\_sum**(count)                                          | Total lines of code Copilot suggested to delete. Broken down by IDE.                                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.users.by\_ide.loc\_added\_sum**(count)                                                          | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by IDE.                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.users.by\_ide.loc\_deleted\_sum**(count)                                                        | Total lines of code deleted from the editor (currently from agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                                   |
| **github\_copilot.usage.organizations.users.by\_feature.user\_initiated\_interaction\_count**(count)                                  | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by Copilot feature.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.users.by\_feature.code\_generation\_activity\_count**(count)                                    | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.users.by\_feature.code\_acceptance\_activity\_count**(count)                                    | Number of suggestions or code blocks accepted by users. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.organizations.users.by\_feature.loc\_suggested\_to\_add\_sum**(count)                                         | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.users.by\_feature.loc\_suggested\_to\_delete\_sum**(count)                                      | Total lines of code Copilot suggested to delete. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.users.by\_feature.loc\_added\_sum**(count)                                                      | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by Copilot feature.                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.users.by\_feature.loc\_deleted\_sum**(count)                                                    | Total lines of code deleted from the editor (currently from agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.users.by\_language\_feature.user\_initiated\_interaction\_count**(count)                        | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.users.by\_language\_feature.code\_generation\_activity\_count**(count)                          | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and Copilot feature.                                                                                                                                                                                                    |
| **github\_copilot.usage.organizations.users.by\_language\_feature.code\_acceptance\_activity\_count**(count)                          | Number of suggestions or code blocks accepted by users. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.organizations.users.by\_language\_feature.loc\_suggested\_to\_add\_sum**(count)                               | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.organizations.users.by\_language\_feature.loc\_suggested\_to\_delete\_sum**(count)                            | Total lines of code Copilot suggested to delete. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.users.by\_language\_feature.loc\_added\_sum**(count)                                            | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.users.by\_language\_feature.loc\_deleted\_sum**(count)                                          | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                              |
| **github\_copilot.usage.organizations.users.by\_language\_model.user\_initiated\_interaction\_count**(count)                          | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and model.                                                                                                                                                                                                                          |
| **github\_copilot.usage.organizations.users.by\_language\_model.code\_generation\_activity\_count**(count)                            | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and model.                                                                                                                                                                                                              |
| **github\_copilot.usage.organizations.users.by\_language\_model.code\_acceptance\_activity\_count**(count)                            | Number of suggestions or code blocks accepted by users. Broken down by programming language and model.                                                                                                                                                                                                                                                                          |
| **github\_copilot.usage.organizations.users.by\_language\_model.loc\_suggested\_to\_add\_sum**(count)                                 | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                       |
| **github\_copilot.usage.organizations.users.by\_language\_model.loc\_suggested\_to\_delete\_sum**(count)                              | Total lines of code Copilot suggested to delete. Broken down by programming language and model.                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.organizations.users.by\_language\_model.loc\_added\_sum**(count)                                              | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and model.                                                                                                                                                                                                                                 |
| **github\_copilot.usage.organizations.users.by\_language\_model.loc\_deleted\_sum**(count)                                            | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                                        |
| **github\_copilot.usage.organizations.users.by\_model\_feature.user\_initiated\_interaction\_count**(count)                           | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by model and Copilot feature.                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.users.by\_model\_feature.code\_generation\_activity\_count**(count)                             | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by model and Copilot feature.                                                                                                                                                                                                                   |
| **github\_copilot.usage.organizations.users.by\_model\_feature.code\_acceptance\_activity\_count**(count)                             | Number of suggestions or code blocks accepted by users. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.organizations.users.by\_model\_feature.loc\_suggested\_to\_add\_sum**(count)                                  | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                            |
| **github\_copilot.usage.organizations.users.by\_model\_feature.loc\_suggested\_to\_delete\_sum**(count)                               | Total lines of code Copilot suggested to delete. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.users.by\_model\_feature.loc\_added\_sum**(count)                                               | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by model and Copilot feature.                                                                                                                                                                                                                                      |
| **github\_copilot.usage.organizations.users.by\_model\_feature.loc\_deleted\_sum**(count)                                             | Total lines of code deleted from the editor (currently from agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.users.user\_initiated\_interaction\_count**(count)                                                | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model.                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.users.code\_generation\_activity\_count**(count)                                                  | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings.                                                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.users.code\_acceptance\_activity\_count**(count)                                                  | Number of suggestions or code blocks accepted by users.                                                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.users.loc\_suggested\_to\_add\_sum**(count)                                                       | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits).                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.users.loc\_suggested\_to\_delete\_sum**(count)                                                    | Total lines of code Copilot suggested to delete.                                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.users.loc\_added\_sum**(count)                                                                    | Total lines of code actually added to the editor (accepted completions and applied code blocks).                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.users.loc\_deleted\_sum**(count)                                                                  | Total lines of code deleted from the editor (currently from agent edits).                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.users.chat\_panel\_agent\_mode**(count)                                                           | Number of times the user used the chat panel in agent mode.                                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.enterprises.users.chat\_panel\_ask\_mode**(count)                                                             | Number of times the user used the chat panel in ask mode.                                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.users.chat\_panel\_edit\_mode**(count)                                                            | Number of times the user used the chat panel in edit mode.                                                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.users.chat\_panel\_custom\_mode**(count)                                                          | Number of times the user used the chat panel in a custom mode.                                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.enterprises.users.chat\_panel\_unknown\_mode**(count)                                                         | Number of times the user used the chat panel in an unknown mode.                                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.users.used\_agent**(count)                                                                        | Whether the user used Copilot agent mode on this day (1 if yes; 0 if no).                                                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.users.used\_chat**(count)                                                                         | Whether the user used Copilot Chat in the IDE on this day (1 if yes; 0 if no).                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.enterprises.users.cli.session\_count**(count)                                                                 | Number of distinct Copilot CLI sessions initiated on this day.                                                                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.enterprises.users.cli.request\_count**(count)                                                                 | Total number of requests made to Copilot via the CLI on this day.                                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.users.cli.token\_usage.output\_tokens\_sum**(count)                                               | Total number of output tokens generated across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.users.cli.token\_usage.prompt\_tokens\_sum**(count)                                               | Total number of prompt tokens sent across all Copilot CLI requests on this day.                                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.enterprises.users.cli.token\_usage.avg\_tokens\_per\_request**(count)                                         | Average number of tokens (prompt and output) per Copilot CLI request on this day.                                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.users.by\_ide.user\_initiated\_interaction\_count**(count)                                        | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by IDE.                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.enterprises.users.by\_ide.code\_generation\_activity\_count**(count)                                          | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by IDE.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.users.by\_ide.code\_acceptance\_activity\_count**(count)                                          | Number of suggestions or code blocks accepted by users. Broken down by IDE.                                                                                                                                                                                                                                                                                                     |
| **github\_copilot.usage.enterprises.users.by\_ide.loc\_suggested\_to\_add\_sum**(count)                                               | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                  |
| **github\_copilot.usage.enterprises.users.by\_ide.loc\_suggested\_to\_delete\_sum**(count)                                            | Total lines of code Copilot suggested to delete. Broken down by IDE.                                                                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.users.by\_ide.loc\_added\_sum**(count)                                                            | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by IDE.                                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.users.by\_ide.loc\_deleted\_sum**(count)                                                          | Total lines of code deleted from the editor (currently from agent edits). Broken down by IDE.                                                                                                                                                                                                                                                                                   |
| **github\_copilot.usage.enterprises.users.by\_feature.user\_initiated\_interaction\_count**(count)                                    | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by Copilot feature.                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.users.by\_feature.code\_generation\_activity\_count**(count)                                      | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.users.by\_feature.code\_acceptance\_activity\_count**(count)                                      | Number of suggestions or code blocks accepted by users. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                         |
| **github\_copilot.usage.enterprises.users.by\_feature.loc\_suggested\_to\_add\_sum**(count)                                           | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.users.by\_feature.loc\_suggested\_to\_delete\_sum**(count)                                        | Total lines of code Copilot suggested to delete. Broken down by Copilot feature.                                                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.users.by\_feature.loc\_added\_sum**(count)                                                        | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by Copilot feature.                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.users.by\_feature.loc\_deleted\_sum**(count)                                                      | Total lines of code deleted from the editor (currently from agent edits). Broken down by Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.users.by\_language\_feature.user\_initiated\_interaction\_count**(count)                          | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.users.by\_language\_feature.code\_generation\_activity\_count**(count)                            | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and Copilot feature.                                                                                                                                                                                                    |
| **github\_copilot.usage.enterprises.users.by\_language\_feature.code\_acceptance\_activity\_count**(count)                            | Number of suggestions or code blocks accepted by users. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                |
| **github\_copilot.usage.enterprises.users.by\_language\_feature.loc\_suggested\_to\_add\_sum**(count)                                 | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                             |
| **github\_copilot.usage.enterprises.users.by\_language\_feature.loc\_suggested\_to\_delete\_sum**(count)                              | Total lines of code Copilot suggested to delete. Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.users.by\_language\_feature.loc\_added\_sum**(count)                                              | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.users.by\_language\_feature.loc\_deleted\_sum**(count)                                            | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and Copilot feature.                                                                                                                                                                                                                                              |
| **github\_copilot.usage.enterprises.users.by\_language\_model.user\_initiated\_interaction\_count**(count)                            | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by programming language and model.                                                                                                                                                                                                                          |
| **github\_copilot.usage.enterprises.users.by\_language\_model.code\_generation\_activity\_count**(count)                              | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by programming language and model.                                                                                                                                                                                                              |
| **github\_copilot.usage.enterprises.users.by\_language\_model.code\_acceptance\_activity\_count**(count)                              | Number of suggestions or code blocks accepted by users. Broken down by programming language and model.                                                                                                                                                                                                                                                                          |
| **github\_copilot.usage.enterprises.users.by\_language\_model.loc\_suggested\_to\_add\_sum**(count)                                   | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                       |
| **github\_copilot.usage.enterprises.users.by\_language\_model.loc\_suggested\_to\_delete\_sum**(count)                                | Total lines of code Copilot suggested to delete. Broken down by programming language and model.                                                                                                                                                                                                                                                                                 |
| **github\_copilot.usage.enterprises.users.by\_language\_model.loc\_added\_sum**(count)                                                | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by programming language and model.                                                                                                                                                                                                                                 |
| **github\_copilot.usage.enterprises.users.by\_language\_model.loc\_deleted\_sum**(count)                                              | Total lines of code deleted from the editor (currently from agent edits). Broken down by programming language and model.                                                                                                                                                                                                                                                        |
| **github\_copilot.usage.enterprises.users.by\_model\_feature.user\_initiated\_interaction\_count**(count)                             | Number of explicit prompts sent to Copilot. Only counts messages or prompts actively sent to the model. Broken down by model and Copilot feature.                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.users.by\_model\_feature.code\_generation\_activity\_count**(count)                               | Number of distinct Copilot output events generated. Includes all generated content such as comments and docstrings. Broken down by model and Copilot feature.                                                                                                                                                                                                                   |
| **github\_copilot.usage.enterprises.users.by\_model\_feature.code\_acceptance\_activity\_count**(count)                               | Number of suggestions or code blocks accepted by users. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                               |
| **github\_copilot.usage.enterprises.users.by\_model\_feature.loc\_suggested\_to\_add\_sum**(count)                                    | Total lines of code Copilot suggested to add (completions and chat; excludes agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                            |
| **github\_copilot.usage.enterprises.users.by\_model\_feature.loc\_suggested\_to\_delete\_sum**(count)                                 | Total lines of code Copilot suggested to delete. Broken down by model and Copilot feature.                                                                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.users.by\_model\_feature.loc\_added\_sum**(count)                                                 | Total lines of code actually added to the editor (accepted completions and applied code blocks). Broken down by model and Copilot feature.                                                                                                                                                                                                                                      |
| **github\_copilot.usage.enterprises.users.by\_model\_feature.loc\_deleted\_sum**(count)                                               | Total lines of code deleted from the editor (currently from agent edits). Broken down by model and Copilot feature.                                                                                                                                                                                                                                                             |

### Service Checks{% #service-checks %}

GitHub Copilot does not include any service checks.

### Events{% #events %}

GitHub Copilot does not include any events.

## Troubleshooting{% #troubleshooting %}

### Metrics aren't appearing{% #metrics-arent-appearing %}

If you're seeing errors when fetching data from the metrics endpoint, such as `/orgs/{org}/copilot/metrics`, verify that the **Copilot Metrics API** policy is enabled in your GitHub organization.

To enable the Copilot Metrics API policy:

1. Go to your GitHub organization settings.
1. In the left sidebar, select **Copilot** > **Policies**.
1. Find the **Copilot Metrics API** section, and click **Enable**.

This policy is required for Datadog to retrieve Copilot usage metrics.

### Still need help?{% #still-need-help %}

Contact [Datadog support](https://docs.datadoghq.com/help/).

## Further Reading{% #further-reading %}

- [GitHub Copilot](https://docs.datadoghq.com/integrations/github_copilot.md)
- [Monitor GitHub Copilot with Datadog](https://www.datadoghq.com/blog/monitor-github-copilot-with-datadog/)
