Skip to content

Commit cca1154

Browse files
committed
Add OTel support for Copilot Chat
1 parent afb17ad commit cca1154

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

docs/configure/telemetry.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ The `endpoint` field describes what data handler the data is sent to. This is no
100100
* `MacAddressHash` - Used to identify a user of VS Code. This is hashed once on the client side and then hashed again on the pipeline side to make it impossible to identify a given user. On [VS Code for the Web](/docs/setup/vscode-web.md), a UUID is generated for this case.
101101
* `none` - Data does not require any special handling.
102102

103+
## OpenTelemetry support for agent interactions
104+
105+
[Copilot Chat](/docs/copilot/overview.md) in VS Code can export traces, metrics, and events via [OpenTelemetry](https://opentelemetry.io/) (OTel) to give you real-time visibility into agent interactions, LLM calls, tool execution, and token usage. You can use this telemetry data with any OTel-compatible backend.
106+
107+
Learn more about how to [Monitor agent interactions with OpenTelemetry](https://github.com/microsoft/vscode-copilot-chat/blob/main/docs/monitoring/agent_monitoring.md).
108+
103109
## GDPR and VS Code
104110

105111
In addition to supporting the General Data Protection Regulation (GDPR), the VS Code team takes privacy very seriously. That's both for Microsoft as a company and specifically within the VS Code team.

docs/enterprise/telemetry.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ VS Code extensions might collect their own telemetry data. The `setting(telemetr
8484

8585
Review the documentation of extensions used in your organization to understand their telemetry practices.
8686

87+
## OpenTelemetry support for agent interactions
88+
89+
[Copilot Chat](/docs/copilot/overview.md) in VS Code can export traces, metrics, and events via [OpenTelemetry](https://opentelemetry.io/) (OTel) to give you real-time visibility into agent interactions, LLM calls, tool execution, and token usage. You can use this telemetry data with any OTel-compatible backend.
90+
91+
Learn more about how to [Monitor agent interactions with OpenTelemetry](https://github.com/microsoft/vscode-copilot-chat/blob/main/docs/monitoring/agent_monitoring.md).
92+
8793
## GDPR compliance
8894

8995
VS Code is designed to be GDPR compliant. When users disable telemetry, VS Code stops sending telemetry data going forward. For more information about GDPR and VS Code, see the [telemetry documentation](/docs/configure/telemetry.md#gdpr-and-vs-code).

0 commit comments

Comments
 (0)