Skip to main content

OpenTelemetry in the GitHub Copilot app

By Steven Van ·

GitHub Enterprise Cloud admins can now route Copilot agent traces, metrics, and events to their own OpenTelemetry backend.

The GitHub Copilot app now supports OpenTelemetry (OTel) configuration through enterprise-managed settings. Administrators can use the open source observability framework to send agent activity data from users' Copilot clients to their organisation's compatible monitoring tools.

  • Traces follow the flow of an agent session, including calls to AI models and the tools an agent uses.
  • Metrics track numeric measurements over time, such as input and output token usage.
  • Events record individual actions at a point in time, such as whether a user accepted or rejected an agent edit.

Prompt, response, and tool argument content is excluded by default; administrators can choose to capture it, but should review their content-capture settings first since it may contain sensitive information. To enable it, administrators configure the telemetry property in their enterprise's managed-settings.json file, setting the OTLP endpoint that will receive the data. Once enforced, the settings apply across users' clients and cannot be overridden individually.

GitHub
GitHub
Where the world builds software — Git hosting, pull requests, issues, Actions CI/CD, and Copilot, free for public and private repos.
View GitHub →

Read the original announcement →

Read OpenTelemetry in the GitHub Copilot app on Creators Toolbox