Skip to content

Commit 81d41b5

Browse files
committed
Removed Custom Instana propagator for baggage propagation since multitextmappropagator will suffice the same
1 parent fcd8659 commit 81d41b5

File tree

6 files changed

+163
-822
lines changed

6 files changed

+163
-822
lines changed

src/Propagation/Instana/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ $propagator = InstanaPropagator::getInstance();
2828

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

31+
For Baggage propagation, use opentelemetry's MultiTextMapPropagator, and pass the array list of propagators i.e Instana and Baggage propagator as below.
32+
33+
```
34+
$propagator = new MultiTextMapPropagator(InstantPropagator::getInstance(), BaggagePropagator::getInstance());
35+
```
36+
3137
## Propagator Details
3238

3339
There are three headers that the propagator handles: `X-INSTANA-T` (the trace ID), `X-INSTANA-S` (the parent span ID), and `X-INSTANA-L` (the sampling level).

src/Propagation/Instana/src/InstanaContextPropagator.php

Lines changed: 0 additions & 172 deletions
This file was deleted.

src/Propagation/Instana/src/InstanaMultiPropagator.php

Lines changed: 0 additions & 173 deletions
This file was deleted.

0 commit comments

Comments
 (0)