Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opentelemetry-php/extension-propagator-b3
[READONLY] b3 propagator
https://github.com/opentelemetry-php/extension-propagator-b3
Last synced: about 2 months ago
JSON representation
[READONLY] b3 propagator
- Host: GitHub
- URL: https://github.com/opentelemetry-php/extension-propagator-b3
- Owner: opentelemetry-php
- Created: 2022-08-23T10:42:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T23:33:05.000Z (4 months ago)
- Last Synced: 2024-09-27T07:45:39.385Z (3 months ago)
- Language: PHP
- Size: 29.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Releases](https://img.shields.io/badge/releases-purple)](https://github.com/opentelemetry-php/extension-propagator-b3/releases)
[![Source](https://img.shields.io/badge/source-extension--propagator--b3-green)](https://github.com/open-telemetry/opentelemetry-php/tree/main/src/Extension/Propagator/B3)
[![Mirror](https://img.shields.io/badge/mirror-opentelemetry--php:extension--propagator--b3-blue)](https://github.com/opentelemetry-php/extension-propagator-b3)
[![Latest Version](http://poser.pugx.org/open-telemetry/extension-propagator-b3/v/unstable)](https://packagist.org/packages/open-telemetry/extension-propagator-b3/)
[![Stable](http://poser.pugx.org/open-telemetry/extension-propagator-b3/v/stable)](https://packagist.org/packages/open-telemetry/extension-propagator-b3/)# OpenTelemetry Extension
### B3 PropagatorB3 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:
```text
B3Propagator::getB3SingleHeaderInstance()
```For B3 multi header:
```text
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](https://github.com/open-telemetry/opentelemetry-php).