# OpenTelemetry Trace Context Propagator

> Implements W3C TraceContext and Baggage propagation using the OpenTelemetry JS SDK and @opentelemetry/api. Injects and extracts trace context headers (traceparent, tracestate) across HTTP, gRPC, and message queue boundaries. Integrates with Jaeger, Zipkin, and OTLP exporters for distributed trace correlation.

- Skill: `agentskillexchange/opentelemetry-trace-context-propagator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/opentelemetry-trace-context-propagator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/opentelemetry-trace-context-propagator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/opentelemetry-trace-context-propagator

---


# OpenTelemetry Trace Context Propagator

Implements W3C TraceContext and Baggage propagation using the OpenTelemetry JS SDK and @opentelemetry/api. Injects and extracts trace context headers (traceparent, tracestate) across HTTP, gRPC, and message queue boundaries. Integrates with Jaeger, Zipkin, and OTLP exporters for distributed trace correlation.

## Installation

Use the upstream install or setup path that matches your environment:
- Docker
- npm init -y
- npm install undici \
- npm install -D tsx # a tool to run TypeScript (.ts) files directly with node

Requirements and caveats from upstream:
- Node.js
- Python
- @opentelemetry/sdk-node

Basic usage or getting-started notes:
- Dev
- Ops
- Concepts

- Source: https://opentelemetry.io/docs/languages/js/propagation/

## Documentation

- https://opentelemetry.io/docs/languages/js/propagation/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/opentelemetry-trace-context-propagator/)

