administration
Installation
SKILL.md
Claude Code Administration
Monitoring Overview
Claude Code supports OpenTelemetry (OTel) for metrics and events. The system exports time series data via standard metrics protocol and events through logs/events protocol.
Quick Setup
Enable telemetry:
export CLAUDE_CODE_ENABLE_TELEMETRY=1
Configure exporters (optional, pick what you need):
# Metrics
export OTEL_METRICS_EXPORTER=otlp # Options: otlp, prometheus, console