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.

agentskillexchange Updated 28 repo stars

File contents

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:

Documentation

Source

agentskillexchange/skills/tree/main/skills/opentelemetry-trace-context-propagator commit f411870dc5

Frequently asked questions

npx skillmds@latest add agentskillexchange/opentelemetry-trace-context-propagator