public class SourceDistributedSourceTraceContext extends Object implements org.mule.sdk.api.runtime.source.DistributedTraceContextManager
DistributedTraceContextManager used internally for sources.| Constructor and Description |
|---|
SourceDistributedSourceTraceContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCurrentSpanAttribute(String key,
String value) |
void |
addCurrentSpanAttributes(Map<String,String> attributes) |
Map<String,String> |
getRemoteTraceContextMap() |
String |
getSpanName() |
Map<String,String> |
getSpanRootAttributes() |
void |
setCurrentSpanName(String name) |
void |
setRemoteTraceContextMap(Map<String,String> remoteTraceContextMap) |
public void setRemoteTraceContextMap(Map<String,String> remoteTraceContextMap)
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 String getSpanName()
Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.