obs-open-telemetry-instrumentation

Implement OpenTelemetry SDK instrumentation and collector pipelines with OTLP export.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/FernanSuoza/AIDD-project-bootstrap --skill obs-open-telemetry-instrumentation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: obs-open-telemetry-instrumentation
Source: https://github.com/FernanSuoza/AIDD-project-bootstrap/tree/main/templates/skills/obs-open-telemetry-instrumentation
Command: npx skills add https://github.com/FernanSuoza/AIDD-project-bootstrap --skill obs-open-telemetry-instrumentation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide a repeatable, safe implementation path for OpenTelemetry instrumentation and collector/export pipelines so services emit consistent, correlated traces, metrics, and logs without leaking sensitive data or creating unbounded cardinality.

Core Features & Use Cases

  • SDK Instrumentation: Add or update OTel SDK setup for incoming requests, outbound dependencies, background jobs, and message consumers using semantic conventions.
  • Collector & Export Pipelines: Create or modify Collector configs with OTLP receivers, batching, memory limits, attribute transforms, sampling, and exporters to target one or more backends.
  • Validation & Testing: Validate collector configuration, run local collectors for integration testing, and assert resource attribute and cardinality constraints to prevent high-cardinality attributes reaching backends.
  • Use Case: Instrument a web API and worker to propagate W3C trace context, record exemplars for metrics, and route telemetry through a collector with redaction and sampling.

Quick Start

Run the obs-open-telemetry-instrumentation skill with the story context, backend target, and current collector config to generate SDK changes, collector pipeline updates, and validation commands.

Frequently Asked Questions about obs-open-telemetry-instrumentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement OpenTelemetry instrumentation for HTTP APIs and background jobs?

Implement OpenTelemetry instrumentation by adding the OTel SDK to incoming requests, outbound dependencies, and background jobs using semantic conventions to emit consistent, correlated traces, metrics, and logs across your services.

How do I configure an OpenTelemetry collector pipeline with batching and memory limits?

Configure an OpenTelemetry collector pipeline by defining OTLP receivers, applying batching processors, setting memory limits, and adding attribute transforms to safely route telemetry to one or more backends.

How do I prevent high-cardinality attributes and sensitive data leaks in OpenTelemetry?

Prevent high-cardinality attributes and sensitive data leaks by applying redaction policies and sampling configurations within your collector pipeline, ensuring telemetry remains bounded and compliant before reaching backends.

How do I propagate W3C trace context across web APIs and message consumers?

Propagate W3C trace context by instrumenting both web APIs and message consumers with the OpenTelemetry SDK, ensuring distributed traces correlate correctly across service boundaries and asynchronous workflows.

Does OpenTelemetry instrumentation support validating collector configuration and resource attributes?

OpenTelemetry instrumentation supports validation by running local collectors for integration testing and asserting resource attribute constraints to prevent invalid configurations or unbounded cardinality from reaching backends.

What is the best way to route OpenTelemetry metrics and traces to multiple backends?

The best way to route OpenTelemetry data to multiple backends is configuring collector export pipelines with OTLP receivers, processors for batching and sampling, and multiple exporters to distribute telemetry safely.