open-telemetry/extension-propagator-b3
B3 propagator extension for OpenTelemetry PHP.
Maintainers
Package info
github.com/opentelemetry-php/extension-propagator-b3
pkg:composer/open-telemetry/extension-propagator-b3
Requires
- php: ^8.1
- open-telemetry/api: ^1.0
- open-telemetry/context: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Apache-2.0 740d2768e04c4f8499db31072d39bebdddbae61a
This package is auto-updated.
Last update: 2026-06-25 14:35:40 UTC
README
👁 Releases
👁 Source
👁 Mirror
👁 Latest Version
👁 Stable
OpenTelemetry Extension
B3 Propagator
B3 is a propagator that supports the specification for the header "b3" used for trace context propagation across service boundaries.(https://github.com/openzipkin/b3-propagation). OpenTelemetry PHP B3 Propagator Extension provides option to use B3 single header(https://github.com/openzipkin/b3-propagation#single-header) as well as B3 multi header (https://github.com/openzipkin/b3-propagation#multiple-headers) propagators.
Usage
For B3 single header:
B3Propagator::getB3SingleHeaderInstance()
For B3 multi header:
B3Propagator::getB3MultiHeaderInstance()
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.
