open-telemetry / extension-propagator-jaeger
Jaeger propagator extension for OpenTelemetry PHP.
Requires
- php: ^8.1
- open-telemetry/api: ^1.0
- open-telemetry/context: ^1.0
This package is auto-updated.
Last update: 2024-10-26 23:48:20 UTC
README
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.