Commit 4c0c5a8
committed
docs: Add OpenTelemetry instrumentation guide for Copilot SDK
Add comprehensive documentation for instrumenting Copilot SDK applications
with OpenTelemetry GenAI semantic conventions.
The guide includes:
- Installation and basic setup for OpenTelemetry
- Complete SessionEventType to GenAI attribute mapping
- Detailed examples for ASSISTANT_USAGE, TOOL_EXECUTION events
- Full working code example with proper span management
- Content recording guidelines (opt-in for sensitive data)
- MCP tool conventions
- Metrics export
- Azure Monitor integration
- Best practices and troubleshooting
This enables Copilot SDK users to add standardized observability
following OpenTelemetry GenAI Semantic Conventions v1.34.0.1 parent c4b3b36 commit 4c0c5a8
1 file changed
Lines changed: 524 additions & 0 deletions
0 commit comments