Skip to content

opentelemetry-php/extension-propagator-jaeger

Repository files navigation

Releases Source Mirror Latest Version Stable

OpenTelemetry Extension

Jaeger Propagator

Jaeger is a propagator that supports the specification for the header "uber-trace-id" used for trace context propagation across service boundaries.(https://www.jaegertracing.io/docs/1.52/client-libraries/#propagation-format). OpenTelemetry PHP Jaeger Propagator Extension provides option to use Jaeger Baggage (https://www.jaegertracing.io/docs/1.52/client-libraries/#baggage) propagator.

Usage

For Jaeger trace propagator:

JaegerPropagator::getInstance()

For Jaeger baggage propagator:

JaegerBaggagePropagator::getInstance()

Both of the above have extract and inject methods available to extract and inject respectively into the header.

Contributing

This repository is a read-only git subtree split. To contribute, please see the main OpenTelemetry PHP monorepo.