Include additional Claude metrics
T
Tomasz Skora
Support official Port integration for Claude as well as the following metrics (specifically P0 as the most critical ones).
Adoption
Daily active users — P0
num_sessions — P2
terminal_type — P3
Code Output
lines_of_code.added — P0
lines_of_code.removed — P0
Suggestion accept rate — P0
Git Activity
commits_by_claude_code — P0
pull_requests_by_claude_code — P0
PRs with Claude Code (%) — P0
Tool Actions
Per tool: accepted / rejected — P0
Token Usage
Per model: input / output / cache_read / cache_creation — P0
Cost
Per model: estimated_cost (amount + currency) — P0
Spend this month (per user) — P0
API Usage
uncached_input_tokens / output_tokens / cache_read_input_tokens — P1
Per model / workspace / service tier / API key — P2
web_search_requests — P2
Context window breakdown (0–200k / 200k–1M) — P1
Speed (standard / fast) — P3
Contribution
PRs with Claude Code vs total PRs — P0
Lines with Claude Code vs total lines — P0
Leaderboard
Top contributors (PRs, lines) — P0