Skip to content

feat(analytics): measure in tokens, not dollars - #91

Merged
nambok merged 1 commit into
mainfrom
feat/analytics-tokens
Oct 17, 2026
Merged

nambok merged 1 commit into
mainfrom
feat/analytics-tokens

Conversation

@nambok

@nambok nambok commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

Analytics reports what Coderhelm used in tokens, not dollars.

Changes

  • The "Cost per merged PR" tile becomes Tokens per merged PR, with the total tokens across runs.
  • "Spend per day" becomes Tokens per day: the chart, its axis, tooltip and table.
  • The by-repository table's Spend column becomes Tokens.
  • It falls back to tokens in plus tokens out when the API has no tokens field yet.

Verification

  • tsc is clean.
  • analytics.spec.ts: 4 passed, with a new check that no dollar amount appears on the page.

@nambok
nambok merged commit 6d6b771 into main Oct 17, 2026
1 check passed
@nambok
nambok deleted the feat/analytics-tokens branch October 17, 2026 03:57
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.

1 participant