Skip to content

docs: align OTel guidance with Agent Host architecture - #335175

Merged
Zhichao Li (zhichli) merged 1 commit into
mainfrom
docs/agent-host-otel-guidance
Sep 9, 2026
Merged

Zhichao Li (zhichli) merged 1 commit into
mainfrom
docs/agent-host-otel-guidance

Conversation

@zhichli

Copy link
Copy Markdown
Contributor

Summary

  • make src/vs/platform/agentHost/OTEL.md the architecture and integration reference for current Agent Host telemetry
  • link the Copilot runtime’s monitoring contract at the immutable revision bundled by VS Code
  • scope the extension monitoring guide to local Copilot Chat
  • replace the OTel skill’s deprecated extension-host architecture with current ownership and version-auditing guidance
  • remove the obsolete Copilot CLI bridge architecture guide and standalone HTML data-flow diagram

Validation

  • verified all relative Markdown links resolve
  • verified removed-document references are gone
  • ran git diff --check
  • verified the documented SDK/runtime versions match package-lock.json

The pre-commit hook could not run because the local checkout is missing @vscode/gulp-vinyl-zip; this is a documentation-only change.

Copilot AI balanced review requested due to automatic review settings September 8, 2026 23:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

There are a couple of concrete documentation issues in src/vs/platform/agentHost/OTEL.md (table rendering and exporterType wording) that should be corrected before merge.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Lite
Findings: 2 Low severity

New issues introduced by this change (2)
Severity Finding
Low severity src/​vs/​platform/​agentHost/​OTEL.md — The chat.agentHost.otel.exporterType description is a bit ambiguous about what happens when…
Low severity src/​vs/​platform/​agentHost/​OTEL.md — The OTEL_EXPORTER_OTLP_HEADERS row has an unbalanced backtick in the example…
What changed in this PR

Updates VS Code’s OpenTelemetry documentation to reflect the current Agent Host-based architecture, clarifying ownership boundaries between Agent Host sessions and the local Copilot Chat extension pipeline, and removing deprecated Copilot CLI bridge documentation/diagrams.

Changes:

  • Repositions src/vs/platform/agentHost/OTEL.md as the primary Agent Host OTel architecture/integration reference (including sources-of-truth guidance and a Mermaid flow diagram).
  • Scopes extensions/copilot/docs/monitoring/agent_monitoring.md to the local Copilot Chat extension-host pipeline and updates configuration guidance accordingly.
  • Removes obsolete monitoring architecture and HTML flow-diagram docs, and updates the OTel skill guidance to match current ownership/version-auditing practices.
File Description
src/​vs/​platform/​agentHost/​OTEL.md Establishes Agent Host OTel as the canonical architecture/integration doc; updates routing description, settings/env guidance, and diagrams.
extensions/​copilot/​docs/​monitoring/​agent_monitoring.md Refocuses the doc on local Copilot Chat telemetry and updates content-capture/auth header guidance.
extensions/​copilot/​docs/​monitoring/​agent_monitoring_arch.md Removes deprecated extension-host architecture guide.
extensions/​copilot/​docs/​monitoring/​otel-data-flow.html Removes deprecated standalone HTML data-flow diagram.
.github/​skills/​otel/​SKILL.md Updates repository guidance (“otel” skill) to align with Agent Host ownership and runtime version discipline.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/vs/platform/agentHost/OTEL.md Outdated
Comment thread src/vs/platform/agentHost/OTEL.md Outdated
@zhichli
Zhichao Li (zhichli) marked this pull request as ready for review September 9, 2026 00:15
@zhichli
Zhichao Li (zhichli) force-pushed the docs/agent-host-otel-guidance branch from 1a01462 to 751c53b Compare September 9, 2026 00:21
@zhichli
Zhichao Li (zhichli) merged commit 333552c into main Sep 9, 2026
33 checks passed
@zhichli
Zhichao Li (zhichli) deleted the docs/agent-host-otel-guidance branch September 9, 2026 00:36
@vs-code-engineering vs-code-engineering Bot added this to the 1.138.0 milestone Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants