Open Source Grafana Dashboard Tracks Claude Code Costs and Usage via OpenTelemetry

✍️ OpenClawRadar📅 Published: May 16, 2026🔗 Source
Open Source Grafana Dashboard Tracks Claude Code Costs and Usage via OpenTelemetry
Ad

A Grafana dashboard for tracking Claude Code costs and usage is now available open source. Built by an SRE who noticed that Claude Code's OpenTelemetry (OTel) metrics capability landed quietly, the dashboard pulls OTel metrics into any Prometheus-compatible backend — including Prometheus, VictoriaMetrics, Mimir, or Thanos.

What It Shows

  • Cost broken down by model, project, and user
  • Token usage over time
  • Cache hit ratio — the single biggest lever on bill predictability
  • Active time, lines of code touched, commits, and PRs Claude opened
  • Edit-decision breakdowns (accept vs. reject)

Custom Labels for Grouping

Use OTEL_RESOURCE_ATTRIBUTES to add custom labels and group data by team or project. This makes it easy to attribute costs to specific teams or initiatives.

Ad

How to Get It

Inspired by the existing Azure Application Insights dashboard for Claude Code, this implementation targets teams running open-source observability stacks. The dashboard is MIT licensed and ready to import into your Grafana instance.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

AI Roundtable: Tool for Comparing 200+ AI Models on Structured Questions
Tools

AI Roundtable: Tool for Comparing 200+ AI Models on Structured Questions

AI Roundtable is a free tool that lets users pose questions with defined answer options, select up to 50 models from a pool of 200+, and get structured responses under identical conditions. It also includes a debate feature where models can see each other's reasoning and a reviewer model that summarizes transcripts.

OpenClawRadar
Phalanx CLI coordinates multiple AI agents for automated code-review cycles
Tools

Phalanx CLI coordinates multiple AI agents for automated code-review cycles

A developer built Phalanx, a CLI tool that coordinates AI agents from different providers: Codex handles coding, Claude Opus performs code review, and Claude Sonnet orchestrates the loop. A companion tool called Codebones compresses repositories to structural maps to reduce token usage.

OpenClawRadar
Claude Academy: A Free Coding Bootcamp That Runs Inside Claude Desktop
Tools

Claude Academy: A Free Coding Bootcamp That Runs Inside Claude Desktop

A developer has built Claude Academy, a free coding bootcamp that operates entirely within Claude Desktop's Code tab. The system uses three commands to deliver 64 structured lessons across web development fundamentals, with progress tracking and real project building.

OpenClawRadar
Open-Sourced Claude Code Skills: A /do Pipeline That Cut Follow-Ups by 80%
Tools

Open-Sourced Claude Code Skills: A /do Pipeline That Cut Follow-Ups by 80%

A developer open-sourced 15 Claude Code skills built over 100+ freelance projects. The /do command runs a 5-step pipeline (/todo → /dev → /verify-dev → /build → /test → push) with auto-fix loops, resulting in 80% fewer follow-ups and 60-65% better code quality across 2000+ commits.

OpenClawRadar