otel-monitoring-setup

Automate OpenTelemetry monitoring setup for Claude Code telemetry with Docker Compose and Grafana.

7|3|Updated Oct 19, 2025
One-click install
npx skills add https://github.com/cskiro/annex --skill otel-monitoring-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: otel-monitoring-setup
Source: https://github.com/cskiro/annex/tree/main/skills/otel-monitoring-setup
Command: npx skills add https://github.com/cskiro/annex --skill otel-monitoring-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docker, jq, curl, and includes dashboards (resource) and templates (resource) and data (resource) components.

What problem does it solve?

Set up local or enterprise OpenTelemetry pipelines to collect Claude Code usage metrics, costs, and productivity data.

Core Features & Use Cases

  • Mode-based: Local PoC (Docker) or Enterprise (centralized)
  • Dashboards & Dashboards Import: Grafana integration
  • Secure Telemetry: Config templates and export configurations

Quick Start

Use local PoC mode to spin up a Grafana-backed telemetry stack and verify data flow.

Frequently Asked Questions about otel-monitoring-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up OpenTelemetry monitoring for Claude Code telemetry data collection?

OpenTelemetry monitoring automates telemetry pipeline setup for Claude Code usage analytics. This Skill generates Docker Compose configurations, OTEL collector settings, and Prometheus/Grafana scaffolding to collect metrics, costs, and productivity data in local or enterprise deployments with end-to-end validation.

Can I use Docker and Grafana to monitor Claude Code metrics locally?

Yes. The local PoC mode spins up a Grafana-backed telemetry stack using Docker, allowing you to verify data flow and collect Claude Code usage metrics without enterprise infrastructure setup.

What's the difference between local PoC and Enterprise deployment modes for telemetry?

Local PoC mode runs a Docker-based telemetry stack for development and testing. Enterprise mode generates centralized configurations for production deployments, supporting scaled data collection across distributed Claude Code installations.

Do I need curl and jq to deploy this OpenTelemetry monitoring setup?

Yes. curl and jq are dependencies required for endpoint integration, configuration management, and data-flow verification during automated OTEL collector setup and Prometheus/Grafana dashboard import.

How does Prometheus collect and store Claude Code telemetry data?

Prometheus scrapes metrics from OTEL collector endpoints configured by this Skill. The collector ingests Claude Code telemetry, transforms it, and exports to Prometheus for time-series storage, which Grafana queries for dashboards and analysis.

What happens after telemetry data flows into Grafana dashboards?

Grafana visualizes Claude Code metrics, costs, and productivity data through pre-built dashboards. You can then analyze usage patterns, track resource consumption, and export reports for further downstream analysis or alerting.