Skip to content

Add customizations telemetry#294741

Merged
pwang347 merged 3 commits intomainfrom
pawang/customizationTelemetry
Feb 12, 2026
Merged

Add customizations telemetry#294741
pwang347 merged 3 commits intomainfrom
pawang/customizationTelemetry

Conversation

@pwang347
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings February 12, 2026 00:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds telemetry tracking for customization files in the chat prompt system, specifically for Claude-related files. The changes enable tracking of how users are utilizing Claude rules, CLAUDE.md files, and Claude agents to better understand adoption and usage patterns.

Changes:

  • Added three new telemetry counters: claudeRulesCount, claudeMdCount, and claudeAgentsCount
  • Created a new helper function isInClaudeAgentsFolder to identify files in the .claude/agents/ directory
  • Updated telemetry event structure and classification metadata
  • Extended test assertions to verify the new telemetry fields exist

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/vs/workbench/contrib/chat/common/promptSyntax/computeAutomaticInstructions.ts Added telemetry tracking logic for Claude rules, CLAUDE.md files, and Claude agents; incremented appropriate counters when these files are processed
src/vs/workbench/contrib/chat/common/promptSyntax/config/promptFileLocations.ts Added isInClaudeAgentsFolder helper function to identify files directly in the .claude/agents/ folder
src/vs/workbench/contrib/chat/test/common/promptSyntax/computeAutomaticInstructions.test.ts Updated test to assert that new telemetry fields exist and are non-negative

@pwang347 pwang347 marked this pull request as ready for review February 12, 2026 01:26
@vs-code-engineering vs-code-engineering bot added this to the February 2026 milestone Feb 12, 2026
@pwang347 pwang347 enabled auto-merge (squash) February 12, 2026 01:46
@pwang347 pwang347 merged commit 6c1af3f into main Feb 12, 2026
18 checks passed
@pwang347 pwang347 deleted the pawang/customizationTelemetry branch February 12, 2026 01:49
pwang347 added a commit that referenced this pull request Feb 12, 2026
lramos15 pushed a commit that referenced this pull request Feb 12, 2026
* Hook menu title rename (#294645)

* Update hook settings (#294732)

* Add customizations telemetry (#294741)

* Hook parsing fixes (#294745)
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.

2 participants

Comments