File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
processor/opentelemetry-processor-baggage Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 1
1
OpenTelemetry Baggage Span Processor
2
2
====================================
3
3
4
+ |pypi |
5
+
6
+ .. |pypi | image :: https://badge.fury.io/py/opentelemetry-processor-baggage.svg
7
+ :target: https://pypi.org/project/opentelemetry-processor-baggage/
8
+
4
9
The BaggageSpanProcessor reads entries stored in Baggage
5
10
from the parent context and adds the baggage entries' keys and
6
11
values to the span as attributes on span start.
7
12
13
+ Installation
14
+ ------------
15
+
16
+ ::
17
+
18
+ pip install opentelemetry-processor-baggage
19
+
8
20
Add this span processor to a tracer provider.
9
21
10
22
Keys and values added to Baggage will appear on subsequent child
@@ -48,4 +60,4 @@ For example, to only copy baggage entries that match the regex `^key.+`:
48
60
```python
49
61
regex_predicate = lambda baggage_key: baggage_key.startswith("^key.+")
50
62
tracer_provider.add_span_processor(BaggageSpanProcessor(regex_predicate))
51
- ` ``
63
+ ` ``
You can’t perform that action at this time.
0 commit comments