mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-16 13:21:04 +01:00
4cd66e05d3
agent_monitoring.md (user-facing): - Add github.copilot.chat.otel.dbSpanExporter.enabled to the settings table - Add dbSpanExporter as a fourth Activation trigger - Add Commands subsection for 'Chat: Export Agent Traces DB' - Add claude-code row to the service.name filter table agent_monitoring_arch.md (developer-facing): - Correct the Multi-Agent Architecture row for Claude (synthesized from SDK messages via claudeMessageDispatch.ts + chatMLFetcher proxy, not 'message loop') - Rewrite the Claude span hierarchy diagram to show subagent nesting under execute_tool Agent, and remove stale claudeHookRegistry/claudeCodeAgent references and PR-number annotations - Replace bogus claudeCodeAgent.ts/claudeHookRegistry.ts rows in the Instrumentation Points table with the real emit sites (claudeOTelTracker.ts, claudeMessageDispatch.ts, claudeLanguageModelServer.ts, chatHookService.ts, geminiNativeProvider.ts) - Expand File Structure with workspaceOTelMetadata, sessionUtils, sqlite/, the Claude folder layout, chatHookService, and otlpFormatConversion - Correct the Implementations table: InMemoryOTelService is the fallback when OTel is disabled (not always-on alongside NodeOTelService); document the selection in services.ts - Add Activation Channels subsection mapping OTelConfig.enabledVia values - Expand the Env Var Translation table with OTEL_METRICS_EXPORTER, OTEL_LOGS_EXPORTER, OTEL_LOG_TOOL_DETAILS, OTEL_EXPORTER_OTLP_PROTOCOL, COPILOT_OTEL_EXPORTER_TYPE - Document FilteredSpanExporter alongside DiagnosticSpanExporter in the Debug Panel vs OTLP Isolation section - Update Testing tree with all current spec files