github GitHub Changelog ·

GitHub Copilot: Enterprise-managed OpenTelemetry export for VS Code and CLI

aigovernanceengineer
feature

Organizations can now mandate where GitHub Copilot sends OpenTelemetry data via enterprise-managed settings, eliminating per-developer environment variable configuration. This feature provides granular control over telemetry endpoints, protocols, service names, and content capture, enhancing security and compliance. It applies to Copilot Chat in VS Code and the Copilot CLI agent, with managed settings taking precedence over user configurations.

  • Mandatory OpenTelemetry export endpoint configuration
  • Centralized OTel service name and resource attributes
  • Managed exporter headers for secure authentication
  • Control over prompt, response, and tool content capture
  • Integration with GitHub Copilot governance controls
Features (4)
  • Mandatory OpenTelemetry export endpoint configuration

    Organizations can now centrally configure the OpenTelemetry export endpoint and transport protocol (HTTP or gRPC) for GitHub Copilot telemetry. This removes the need for individual developers to set OTEL_* environment variables.

  • Centralized OTel service name and resource attributes

    Administrators can define the OpenTel service name and resource attributes for GitHub Copilot telemetry. This ensures consistent identification and context for telemetry data sent to approved collectors.

  • Managed exporter headers for secure authentication

    Enterprise-managed settings allow for the configuration of exporter headers, such as authentication tokens, for the Copilot Chat extension's OTLP exporter. These headers are applied securely and not exposed via environment variables to prevent leakage into subprocesses.

  • Control over prompt, response, and tool content capture

    Administrators can specify whether prompt, response, and tool content is captured for GitHub Copilot telemetry. Managed settings for content capture take precedence over user settings and environment variables.

Enhancements (1)
  • Integration with GitHub Copilot governance controls

    This new capability builds on existing enterprise-managed settings and expands GitHub Copilot's governance controls. It is available across both VS Code and the Copilot CLI.

Notes (1)
  • Managed settings deployment options

    Enterprise-managed settings for telemetry export can be delivered through native MDM solutions (Windows Registry, macOS managed preferences), server-managed settings linked to a GitHub account, or a file-based managed-settings.json.

Read the original announcement →

https://github.blog/changelog/2026-07-08-enterprise-managed-opentelemetry-export-for-vs-code-and-cli