Repository navigation
agentHost: Emit user message telemetry to CTS - #329961
Merged
Aaron Munger (amunger) merged 6 commits intoAug 12, 2026
Merged
Aaron Munger (amunger) merged 6 commits into
Aaron Munger (amunger) merged 6 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds standard GitHub telemetry for Agent Host user messages while preserving existing Microsoft telemetry.
Changes:
- Emits client type and normalized conversation ID.
- Adds coverage for subagent chat URI normalization.
Show a summary per file
| File | Description |
|---|---|
agentHostTelemetryReporter.ts |
Emits the GitHub telemetry event. |
agentHostTelemetryReporter.test.ts |
Verifies event properties and normalization. |
Review details
Tip
Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
Contributor
Author
|
@microsoft-github-policy-service agree company="GitHub" |
a1exmozz
force-pushed
the
a1exmozz/agent-host-standard-telemetry
branch
from
August 11, 2026 09:49
8b555b5 to
9019e03
Compare
Aaron Munger (amunger)
previously approved these changes
Aug 11, 2026
roblourens
previously approved these changes
Aug 11, 2026
Vritant Bhardwaj (vritant24)
previously approved these changes
Aug 11, 2026
# Conflicts: # src/vs/platform/agentHost/node/agentSideEffects.ts # src/vs/platform/agentHost/test/node/agentHostTelemetryReporter.test.ts
a1exmozz
dismissed stale reviews from Vritant Bhardwaj (vritant24), roblourens, and Aaron Munger (amunger)
via
August 12, 2026 09:24
7136fdc
a1exmozz
requested review from
Aaron Munger (amunger),
roblourens and
Vritant Bhardwaj (vritant24)
August 12, 2026 09:27
Contributor
Author
|
fixed merge conflicts |
Aaron Munger (amunger)
approved these changes
Aug 12, 2026
Paul (pwang347)
approved these changes
Aug 12, 2026
Vritant Bhardwaj (vritant24)
approved these changes
Aug 12, 2026
Aaron Munger (amunger)
enabled auto-merge (squash)
August 12, 2026 19:46
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Copilot Metrics needs to report usage of the dedicated VS Code Agents window separately from editor-window chat.
Prior work added per-interaction
initiatorClientTypeattribution in #327417 and propagated it to standard GitHub telemetry in #328074. This PR makes the existingagentHost.userMessageSentevent available to standard GitHub telemetry with:initiatorClientTypeconversationIdChat and subagent URIs are normalized to the owning session so downstream session counts do not treat subagents as separate sessions. The existing Microsoft telemetry event remains unchanged.