View your personal LLM usage metrics and session history in Grafana.
View in Grafana →Generate a new key
Connect your tools
Step 1 — Install the CLI
The tap is private, so pass your GitHub token when installing.
HOMEBREW_GITHUB_API_TOKEN=$(gh auth token) brew install hiyainc-labs/tap/tally
Step 2 — Add to your login shell config
Use ~/.zprofile on macOS/zsh, ~/.bash_profile on bash,
or ~/.config/fish/config.fish on fish.
Avoid .zshrc / .bashrc — those are interactive-only and won't be sourced
when Claude Code runs headlessly from an IDE or script.
export TALLY_URL=https://tally.hiyainc.net export TALLY_API_KEY="tally_xxxx" # paste your key above export CLAUDE_CODE_ENABLE_TELEMETRY=1 export OTEL_EXPORTER_OTLP_ENDPOINT="$TALLY_URL" export OTEL_EXPORTER_OTLP_HEADERS="x-api-key=$TALLY_API_KEY" export OTEL_EXPORTER_OTLP_PROTOCOL="http/protobuf" export OTEL_TRACES_EXPORTER="otlp" export OTEL_METRICS_EXPORTER="otlp" export OTEL_LOGS_EXPORTER="otlp"
Step 3 — Install Claude Code hooks
Open a new terminal (so the env vars are loaded), then run:
tally init
API Keys
No API keys yet. Generate one above.
Pipeline health
No data yet — send your first request to see it here.