/observability:otel-best-practicesfrom observability
Language-agnostic OpenTelemetry conventions for queryable signals and explicit operational outcomes. Guides span design, structured logging, attribute naming, and exception recording.
Ships in observability. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Treat spans as operation records and named log records as occurrence records. Put safe, bounded, operationally useful inputs, final outputs, and outcomes on the span that represents the operation. Emit a named log event only for a meaningful point-in-time occurrence. Do not infer one signal from another.
Use an established OpenTelemetry semantic convention before defining an application attribute. Keep custom policy visibly separate from OpenTelemetry requirements. Keep telemetry useful across languages, SDKs, collectors, and backends.
Treat this guidance as language-agnostic. Adapt illustrative JavaScript SDK examples to the target language's official OpenTelemetry APIs, native exception chaining, and resource-management conventions.
eventName for structured log records so consumers can select the correct attribute schema without inferring the record type from its body or attribute set.OK after all fallible work has finished and leave that status set.open-telemetry/opentelemetry-specificationopen-telemetry/semantic-conventionsRead the linked guidance that governs the current task.
error.type describe that operation independently from exception emission.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
opentelemetry, otel, observability, telemetry, distributed-tracing
npx claudepluginhub bastidood/skills --plugin observabilityOther plugins' skills for the same job