/stack-patterns:open-telemetry-best-practicesfrom stack-patterns
Language-agnostic OpenTelemetry conventions for queryable signals and explicit operational outcomes. Use when adding or reviewing spans, structured logs, attributes, or exception recording.
Ships in stack-patterns. 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, and 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
npx claudepluginhub casper-studios/casper-marketplace --plugin stack-patterns10 skills in this plugin
/better-all-best-practices`better-all` conventions for dependency-aware async task graphs. Use when defining `all` or `allSettled` graphs or converting staged async work with task dependencies./drizzle-orm-best-practicesDialect-aware Drizzle ORM conventions for safe query, mutation, and transaction boundaries. Use when writing or reviewing Drizzle schemas, queries, transactions, or raw SQL./python-best-practicesPython 3.13+ conventions for typed application and library boundaries. Use when writing or reviewing Python contracts, packages, validation, or async resource ownership.Other plugins' skills for the same job