Skip to content
Back to skills

Opentelemetry Instrumentation

ASecurity

Instrument a service with OpenTelemetry: OTLP export, semantic conventions, the key spans and metrics, a sampling strategy (head vs tail), cardinality control, and trace/log correlation via propagated context.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsbackend

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add mcorbett51090/RavenClaude --skill opentelemetry-instrumentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opentelemetry Instrumentation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Opentelemetry Instrumentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-opentelemetry-instrumentation/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-opentelemetry-instrumentation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: opentelemetry-instrumentation
description: "Instrument a service with OpenTelemetry: OTLP export, semantic conventions, the key spans and metrics, a sampling strategy (head vs tail), cardinality control, and trace/log correlation via propagated context."
---

# OpenTelemetry Instrumentation

**Purpose:** make a service observable, vendor-neutrally.

## Emit OTLP, route in the collector
App code emits OTLP to a **collector**; the collector routes to the backend. Don't bind app code to a vendor SDK.

## Semantic conventions
Use standard attribute names (`http.route`, `service.name`, `db.system`). Portable + queryable.

## Cardinality
High-cardinality identifiers (user-id, request-id) -> **spans/logs**, never metric labels. A metric label with unbounded values explodes the TSDB.

## Sampling
- **Head** sampling: decide at span start — cheap, blind.
- **Tail** sampling: keep errored/slow traces — pricier, smarter.

## Correlate
Propagate **trace context** so a metric anomaly -> exemplar trace -> request logs.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…