Setup — Claude Code desktop app (OTel telemetry to Revenium)
Configure OpenTelemetry in the Claude Code desktop app so its AI usage is metered in Revenium — the desktop app does not configure this automatically the way the CLI does.
Configure the desktop app
Settings to add
CLAUDE_CODE_ENABLE_TELEMETRY=1
OTEL_EXPORTER_OTLP_ENDPOINT=https://api.revenium.ai/meter/v2/otlp
OTEL_EXPORTER_OTLP_HEADERS=x-api-key=rev_mk_your_tenant_yourkey
OTEL_EXPORTER_OTLP_PROTOCOL=http/json
OTEL_LOGS_EXPORTER=otlp
OTEL_METRICS_EXPORTER=none
OTEL_LOGS_EXPORT_INTERVAL=5000Verify your configuration
Why this is needed
Last updated
Was this helpful?