public class PropagateAllDistributedTraceContextManager extends Object implements InternalDistributedTraceContextManager
DistributedTraceContextManager that injects all the fields of the propagator context of the event.InternalDistributedTraceContextManager.InternalDistributedTraceContextManagerWrapper| Constructor and Description |
|---|
PropagateAllDistributedTraceContextManager(CoreEvent coreEvent,
CoreEventTracer coreEventTracer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCurrentSpanAttribute(String key,
String value) |
void |
addCurrentSpanAttributes(Map<String,String> attributes) |
Map<String,String> |
getRemoteTraceContextMap() |
void |
setCurrentSpanName(String name) |
void |
setRemoteTraceContextMap(Map<String,String> contextMap) |
<T> T |
visit(InternalDistributedTraceContextVisitor<T> visitor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInternalDistributedTraceContextManagerpublic PropagateAllDistributedTraceContextManager(CoreEvent coreEvent, CoreEventTracer coreEventTracer)
public void setRemoteTraceContextMap(Map<String,String> contextMap)
setRemoteTraceContextMap in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic Map<String,String> getRemoteTraceContextMap()
getRemoteTraceContextMap in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic void setCurrentSpanName(String name)
setCurrentSpanName in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic void addCurrentSpanAttribute(String key, String value)
addCurrentSpanAttribute in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic void addCurrentSpanAttributes(Map<String,String> attributes)
addCurrentSpanAttributes in interface org.mule.sdk.api.runtime.source.DistributedTraceContextManagerpublic <T> T visit(InternalDistributedTraceContextVisitor<T> visitor)
visit in interface InternalDistributedTraceContextManagerCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.