@MinMuleVersion(value="4.5") public interface DistributedTraceContextManager
| Modifier and Type | Method and Description |
|---|---|
void |
addCurrentSpanAttribute(String key,
String value)
Adds an attribute to the current span.
|
void |
addCurrentSpanAttributes(Map<String,String> attributes)
Adds all the attributes passed as parameters to the span.
|
Map<String,String> |
getRemoteTraceContextMap() |
void |
setCurrentSpanName(String name)
Sets the current span name.
|
void |
setRemoteTraceContextMap(Map<String,String> contextMap) |
void setRemoteTraceContextMap(Map<String,String> contextMap)
contextMap - the string/string key/value that stores the information of the remote trace context.Map<String,String> getRemoteTraceContextMap()
void setCurrentSpanName(String name)
void addCurrentSpanAttribute(String key, String value)
key - the key for the span attributevalue - the value for the span attributeCopyright © 2023. All rights reserved.