Claude Code usage

Claude Telemetry

OpenTelemetry wrapper for Claude Code CLI that logs tool calls, token usage, costs, and execution traces to Logfire, Sentry, Honeycomb, or Datadog. Drop-in replacement that swaps 'claude' command for 'claudia'.

Install

Install
pip install claude_telemetry

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/TechNickAI/claude_telemetry.git

From the README

Observability for Claude Code

claude_telemetry wraps the Claude Code CLI with full observability. Every tool call,
token count, and cost flows to your OTEL backend as structured traces.

The Problem

Claude Code works beautifully in your terminal. But when you run agents headless—in
CI/CD, cron jobs, production, or remote servers—you lose visibility into what's
happening. You can't see which tools were called, don't know token usage or costs, have
no context when debugging failures, and can't optimize without re-running locally.

Headless environments lack the rich console output you get during development.

The Solution

claude_telemetry is a thin wrapper around the Claude Code CLI that adds observability.
It passes through all Claude Code flags unchanged while capturing execution traces.
Works with any OTEL backend—Logfire, Datadog, Honeycomb, Grafana. See exactly what
happened in production, debug remote failures without local reproduction, and track
costs to optimize expensive workflows.

Your agents become observable whether local or headless.

Quick Start

The simplest way to add observability: swap claude for claudia on the command line.

That's it. Every flag you use with claude code works with claudia. The behavior is
identical, but now you get full traces in your observability platform.

For Developers

If you're already using claude code in your workflow, switching to claudia gives you
instant observability with zero behavior changes.

Command-line usage:

In scripts and automation:

The result:

When you use claudia, you get the exact same output in your terminal as claude code.
But now your observability platform shows every tool call, token count, cost, and
timing. Debug headless failures, track production costs, and optimize expensive
workflows—all…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
24 October 2025
Topics
anthropic-claudeclaude-codeclidatadoghoneycombllm-monitoringlogfireobservabilityopentelemetrypythonsentrytracing

FAQ

What is Claude Telemetry?

OpenTelemetry wrapper for Claude Code CLI that logs tool calls, token usage, costs, and execution traces to Logfire, Sentry, Honeycomb, or Datadog. Drop-in replacement that swaps 'claude' command for 'claudia'. It is a usage for Claude Code, from TechNickAI/claude_telemetry on GitHub.

How do I install Claude Telemetry?

Run pip install claude_telemetry, then follow the setup in the README.

Is Claude Telemetry popular?

TechNickAI/claude_telemetry has 31 GitHub stars and 3 forks. It was last updated on 24 October 2025.

More usage & cost trackers

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