{
  "id": 15510138,
  "title": "Claude Code Already Emits OpenTelemetry: Who Spends What, on Which Model, in Grafana",
  "url": "https://urgent.news/2026/10/18/claude-code-already-emits-opentelemetry-who-spends-what-on-which",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-18T23:03:43.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/gabrielanhaia/claude-code-already-emits-opentelemetry-who-spends-what-on-which-model-in-grafana-90k"
  },
  "original_language": "en",
  "account": "Claude Code, an AI coding tool, now emits OpenTelemetry observability data. This allows users to track spending by team, model, and other factors through Grafana. By setting the environment variable CLAUDE_CODE_ENABLE_TELEMETRY=1, the OpenTelemetry exporter is activated. The data includes metrics such as cost usage, token usage, session count, and code-related statistics, as well as events like user prompts, API requests, errors, tool results, and decisions. All data is tagged with the model used, user, session, and the specific part of Claude Code responsible for the call. The observability pipeline processes these metrics and events through an OpenTelemetry Collector, Prometheus, and Grafana, allowing users to create cost dashboards and analyze spending patterns.",
  "summary": "Book: LLM Observability Pocket Guide Also by me: Thinking in Go (2-book series) — Complete Guide to Go Programming + Hexagonal Architecture in Go My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub Your team's Claude Code spend lands as one number on an invoice. Then someone asks the obvious follow-ups. Which team…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}