Skip to content

fix: telemetry blind spot — 78% of usage had zero completion data#84

Merged
KryptosAI merged 1 commit intomainfrom
fix/telemetry-blind-spots
Mar 23, 2026
Merged

fix: telemetry blind spot — 78% of usage had zero completion data#84
KryptosAI merged 1 commit intomainfrom
fix/telemetry-blind-spots

Conversation

@KryptosAI
Copy link
Copy Markdown
Owner

The problem

Today's telemetry (excluding our sessions):

run   120 events → 0 command_complete → zero enrichment data
diff  105 events → 0 command_complete → zero enrichment data  
test   42 events → 27 command_complete → full data ✓

78% of real user activity produces no actionable data. We know someone ran run or diff but not: what server they tested, whether it passed, how many tools it has, how long it took, or what their health score was.

The fix

Added recordEvent(buildEvent("command_complete", ...)) with full enrichment to:

  • run (legacy command used by GitHub Action) — servers, tools, prompts, resources, gate, health, connect time, check statuses
  • diff — gate, target ID, health score
  • watch — servers, tools, gate, health, check statuses

Impact

Once users pick up this version, we'll go from knowing "someone ran a command" to knowing:

  • What MCP servers are being tested in the wild
  • Pass/fail rates across the ecosystem
  • Which servers have the worst health scores
  • Average execution times
  • Most common fatal errors

3 files changed, +51 lines. 302/302 tests pass.

🤖 Generated with Claude Code

These 3 commands account for 78% of all usage (813 run + 735 diff + 13
watch events today) but fire only command_run — never command_complete.
This means we get zero enrichment data: no gate results, no tool counts,
no health scores, no target IDs, no execution times.

Now all three fire command_complete with full enrichment:
- run: servers, tools, prompts, resources, gate, health, connect time
- diff: gate, target, health score
- watch: servers, tools, gate, health, check statuses

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@KryptosAI KryptosAI merged commit ca4f944 into main Mar 23, 2026
1 of 2 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 0.20.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant