For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/integrations/github-copilot.md. A documentation index is available at /llms.txt.

GitHub Copilot

Integration version1.1.0

Overview

Warning: Action required before April 2, 2026: Enable the new Copilot usage API endpoints in your GitHub account (organizations | enterprises). 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 integration gives you deep visibility into Copilot usage across your enterprise or organizations, helping you measure adoption, optimize team performance, and understand the impact of AI-powered code suggestions on your development workflows. With this integration, you can:

  • Analyze Copilot Adoption - Measure how frequently developers accept Copilot’s code suggestions and identify which stages of your development process leverage Copilot features.
  • Track License Distribution - Monitor the status of Copilot licenses assigned to ensure optimal utilization.
  • Understand User Engagement - Gain insights into how developers interact with Copilot, distinguishing between:
    • Active users: Developers who have any Copilot related activity, including passively receiving a code suggestion or interacting with Copilot chat.
    • Engaged users: Developers who actively engage with Copilot features, such as accepting a suggestion or generating a pull request summary. All engaged users are also active users.

Collected Metrics

Datadog delivers in-depth visibility into Copilot adoption and usage with granular insights broken down by team, programming language, IDE, and repository, including:

  • Copilot Usage Metrics - Track key Copilot interactions, including IDE code completions, chat activity (both in IDEs and GitHub.com), and pull request summaries. These metrics are available daily and require at least five active Copilot licenses in your enterprise.
    • IDE Code Completion & Chat - Captures usage within IDEs, provided telemetry is enabled.
    • GitHub.com Chat - Measures interactions with Copilot chat on GitHub.com.
    • Pull Request Usage - Tracks Copilot-assisted PR activities, such as automated summaries.
  • Billing Metrics - Stay up to date with real-time visibility into Copilot seat assignments for the current billing cycle. Datadog continuously refreshes this data to provide an accurate, up-to-date view of license utilization. With Datadog’s GitHub Copilot integration, you can ensure that AI-assisted development is driving efficiency while maintaining full visibility into its adoption and impact across your teams.

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

  1. Navigate to the Integrations Page and search for the “GitHub Copilot” Integration.
  2. Click the tile.
  3. To add an account to install the integration, click the Add GitHub Account button.
  4. After reading the instructions in the modal, click the Authorize Organizations or Authorize Enterprise Cloud button, which redirects you to the GitHub login page.
  5. 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.
  6. For restricted organizations:
    • Click Request beside the organization name
    • Org admins: approve in Organization settings > Third-party Access > OAuth app policy GH approved access
  7. Click Authorize datadog-integrations.
  8. 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. GH revoke access

Validation

After installation, metrics are available with the prefix github_copilot.

Data Collected

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

GitHub Copilot does not include any service checks.

Events

GitHub Copilot does not include any events.

Troubleshooting

Metrics aren’t 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.
  2. In the left sidebar, select Copilot > Policies.
  3. Find the Copilot Metrics API section, and click Enable.

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

Still need help?

Contact Datadog support.

Further Reading

Additional helpful documentation, links, and articles: