public class RootInternalSpan extends Object implements InternalSpan
InternalSpan.SpanInternalWrapper| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT_SPAN |
THREAD_END_NAME_KEY| Constructor and Description |
|---|
RootInternalSpan() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String key,
String value) |
void |
addError(InternalSpanError error) |
void |
end() |
Map<String,String> |
getAttributes() |
org.mule.runtime.api.profiling.tracing.SpanDuration |
getDuration() |
Set<org.mule.runtime.api.profiling.tracing.SpanError> |
getErrors() |
org.mule.runtime.api.profiling.tracing.SpanIdentifier |
getIdentifier() |
String |
getName() |
org.mule.runtime.api.profiling.tracing.Span |
getParent() |
SpanExporter |
getSpanExporter() |
boolean |
hasErrors() |
Map<String,String> |
serializeAsMap() |
void |
updateChildSpanExporter(InternalSpan internalSpan) |
void |
updateName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsInternalSpan, getAttribute, setRootAttribute, updateRootNamepublic static final String ROOT_SPAN
public org.mule.runtime.api.profiling.tracing.Span getParent()
getParent in interface org.mule.runtime.api.profiling.tracing.Spanpublic org.mule.runtime.api.profiling.tracing.SpanIdentifier getIdentifier()
getIdentifier in interface org.mule.runtime.api.profiling.tracing.Spanpublic String getName()
getName in interface org.mule.runtime.api.profiling.tracing.Spanpublic org.mule.runtime.api.profiling.tracing.SpanDuration getDuration()
getDuration in interface org.mule.runtime.api.profiling.tracing.Spanpublic Set<org.mule.runtime.api.profiling.tracing.SpanError> getErrors()
getErrors in interface org.mule.runtime.api.profiling.tracing.Spanpublic boolean hasErrors()
hasErrors in interface org.mule.runtime.api.profiling.tracing.Spanpublic void end()
end in interface InternalSpanpublic void addError(InternalSpanError error)
addError in interface InternalSpanpublic void updateName(String name)
updateName in interface InternalSpanpublic SpanExporter getSpanExporter()
getSpanExporter in interface InternalSpanpublic Map<String,String> getAttributes()
getAttributes in interface InternalSpanpublic Map<String,String> serializeAsMap()
serializeAsMap in interface InternalSpanpublic void updateChildSpanExporter(InternalSpan internalSpan)
updateChildSpanExporter in interface InternalSpanpublic void addAttribute(String key, String value)
addAttribute in interface InternalSpanCopyright © 2003–2022 MuleSoft, Inc.. All rights reserved.