Claude Code usage

claude-code-otel

OpenTelemetry-based observability stack for monitoring Claude Code usage, performance and cost.

520 stars 86 forksUsage & cost trackers Source

Install

From source
git clone https://github.com/ColeMurray/claude-code-otel.git

From the README

Claude Code Observability Stack

A comprehensive observability solution for monitoring Claude Code usage, performance, and costs. This setup implements the recommendations from the Claude Code Observability Documentation to provide deep insights into AI-assisted development workflows.

šŸ“ø Dashboard Screenshots

šŸ’° Cost & Usage Analysis
Track spending across different Claude models with detailed breakdowns of costs, API requests, and token usage patterns.

*Features: Model cost comparison, API request tracking, token usage breakdown by type*

šŸ“Š User Activity & Productivity
Monitor development productivity with comprehensive session analytics, tool usage patterns, and code change metrics.

*Features: Session tracking, tool performance metrics, code productivity insights*

šŸŽÆ Features

šŸ“Š Comprehensive Monitoring
- Cost Analysis: Track usage costs by model, user, and time periods
- User Analytics: Daily/Weekly/Monthly Active Users (DAU/WAU/MAU)
- Tool Usage: Monitor which Claude Code tools are used most frequently
- Performance Metrics: API latency, success rates, and bottleneck identification
- Productivity Insights: Lines of code changes, commits, and pull requests

šŸ“Š Enhanced Analytics
- API Request Tracking: Monitor actual request counts by model version
- Token Efficiency: Track cost-per-token across different models
- Session Analytics: Comprehensive session and productivity tracking
- Real-time Monitoring: Live dashboards with 30-second refresh rates

šŸ“ˆ Rich Dashboards
- Executive Overview: High-level KPIs and trends
- Cost Management: Detailed cost breakdowns and projections
- Tool Performance: Success rates and execution times
- User Activity: Productivity and engagement metrics
- Error Analysis: Comprehensive error tracking and investigation

šŸ—ļøā€¦
Read the full README on GitHub

Details

Language
Makefile
License
MIT
Last updated
17 June 2025

FAQ

What is claude-code-otel?

OpenTelemetry-based observability stack for monitoring Claude Code usage, performance and cost. It is a usage for Claude Code, from ColeMurray/claude-code-otel on GitHub.

How do I install claude-code-otel?

Clone ColeMurray/claude-code-otel from GitHub and follow the setup steps in its README.

Is claude-code-otel popular?

ColeMurray/claude-code-otel has 520 GitHub stars and 86 forks, and is included in 2 curated Claude Code lists. It was last updated on 17 June 2025.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.