Expert OpenTelemetry guidance for collector configuration, pipeline design, and production telemetry instrumentation. Use when configuring collectors, designing pipelines, instrumenting applications, implementing sampling, managing cardinality, securing telemetry, writing OTTL transformations, or setting up AI coding agent observability (Claude Code, Codex, Gemini CLI, GitHub Copilot).
93
97%
Does it follow best practices?
Impact
85%
7.08xAverage score across 4 eval scenarios
Passed
No known issues
ID: collector-memory-limiter
Category: Safety
Difficulty: Basic
Configure an OpenTelemetry Collector to receive OTLP traces and export them to Jaeger.
memory_limiter processor as the first processor in the pipelineID: cardinality-protection
Category: Safety
Difficulty: Basic
Add user_id as a metric dimension to track per-user API latency.
ID: tail-sampling-setup
Category: Architecture
Difficulty: Intermediate
Set up tail sampling in Kubernetes to sample 10% of traces but keep all error traces.
loadbalancing exporter with routing_key: traceIDID: claude-code-telemetry
Category: AI Agents
Difficulty: Advanced
Set up OpenTelemetry monitoring for Claude Code to track token usage and costs.
CLAUDE_CODE_ENABLE_TELEMETRY=1 environment variableOTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative~/.claude/settings.json for persistent configOTEL_LOG_USER_PROMPTS, OTEL_LOG_TOOL_DETAILS)session.id cardinality in metricsdocs
evals
cardinality-protection
claude-code-telemetry
collector-memory-limiter
scenario-1
scenario-2
scenario-3
scenario-4
tail-sampling-setup
references