Configures trace spans, defines custom metrics, sets up log exporters, and optimizes sampling strategies for OpenTelemetry instrumentation. Use when instrumenting applications with traces, metrics, or logs. Triggers on requests for observability, telemetry, tracing, metrics collection, logging integration, or OTel setup.
100
100%
Does it follow best practices?
Impact
100%
1.23xAverage score across 3 eval scenarios
Advisory
Suggest reviewing before use
Node.js SDK setup and span status rules
Correct SDK activation flag
100%
100%
OTEL_TRACES_EXPORTER set
50%
100%
gRPC protocol configured
75%
100%
4xx SERVER span status
0%
100%
5xx SERVER span status
87%
100%
No span.recordException
0%
100%
Exception log trace context
37%
100%
URL query param redaction
100%
100%
No PII or credentials in telemetry
100%
100%
Structured logging only
75%
100%
Trace-log correlation in handlers
100%
100%
forceFlush on crash handlers
100%
100%
Custom metrics instrument selection and cardinality
Histogram for durations
100%
100%
Counter for monotonic counts
100%
100%
UpDownCounter for queue depth
100%
100%
UCUM units specified
100%
100%
No unit in metric name
100%
100%
No semconv namespace clash
100%
100%
No high-cardinality metric attributes
100%
100%
Bounded attribute values only
100%
100%
No duplicate auto-instrumented metric
100%
100%
Metric shape test
100%
100%
Consistent units across instances
100%
100%
Metric name not an attribute key
100%
100%
Headless worker spans and retry error handling
Manual SERVER root span
100%
100%
CLIENT kind for outbound calls
70%
100%
AlwaysOn sampler preserved
100%
100%
ERROR only after retries exhausted
100%
100%
Retry attempts as span events
100%
100%
ERROR status message
100%
100%
No span.recordException
0%
100%
Batch span instead of per-item spans
100%
100%
Exception log trace context
0%
100%
forceFlush on shutdown
100%
100%
No more than 10 INTERNAL spans
100%
100%
e73252a
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.