public class OtelBaggageManager extends Object implements org.springframework.cloud.sleuth.BaggageManager
BaggageManager. Doesn't implement an
interface cause Tracer already implements it.| Constructor and Description |
|---|
OtelBaggageManager(org.springframework.cloud.sleuth.CurrentTraceContext currentTraceContext,
List<String> remoteFields,
List<String> tagFields,
org.springframework.context.ApplicationEventPublisher publisher) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.sleuth.BaggageInScope |
createBaggage(String name) |
org.springframework.cloud.sleuth.BaggageInScope |
createBaggage(String name,
String value) |
Map<String,String> |
getAllBaggage() |
org.springframework.cloud.sleuth.BaggageInScope |
getBaggage(String name) |
org.springframework.cloud.sleuth.BaggageInScope |
getBaggage(org.springframework.cloud.sleuth.TraceContext traceContext,
String name) |
public Map<String,String> getAllBaggage()
getAllBaggage in interface org.springframework.cloud.sleuth.BaggageManagerpublic org.springframework.cloud.sleuth.BaggageInScope getBaggage(String name)
getBaggage in interface org.springframework.cloud.sleuth.BaggageManagerpublic org.springframework.cloud.sleuth.BaggageInScope getBaggage(org.springframework.cloud.sleuth.TraceContext traceContext,
String name)
getBaggage in interface org.springframework.cloud.sleuth.BaggageManagerpublic org.springframework.cloud.sleuth.BaggageInScope createBaggage(String name)
createBaggage in interface org.springframework.cloud.sleuth.BaggageManagerCopyright © 2023 Pivotal Software, Inc.. All rights reserved.