You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`otel.java.experimental.span-attributes.copy-from-baggage.include`| Add baggage entries as span attributes, e.g. `key1,key2` or `*` to add all baggage items as keys. |
26
+
|`otel.java.experimental.log-attributes.copy-from-baggage.include`| Add baggage entries as log attributes, e.g. `key1,key2` or `*` to add all baggage items as keys. |
27
+
28
+
### Usage through programmatic activation
29
+
18
30
Add the span and log processor when configuring the tracer and logger providers.
19
31
20
32
To configure the span and log processors to copy all baggage entries during configuration:
@@ -49,16 +61,6 @@ new BaggageSpanProcessor(baggageKey -> pattern.matcher(baggageKey).matches());
|`otel.java.experimental.span-attributes.copy-from-baggage.include`| Add baggage entries as span attributes, e.g. `key1,key2` or `*` to add all baggage items as keys. |
60
-
|`otel.java.experimental.log-attributes.copy-from-baggage.include`| Add baggage entries as log attributes, e.g. `key1,key2` or `*` to add all baggage items as keys. |
0 commit comments