public class ExecutionSpan extends Object implements InternalSpan
Span that represents the trace corresponding to the execution of mule flow or component.| Modifier and Type | Class and Description |
|---|---|
static class |
ExecutionSpan.ExecutionSpanBuilder
x A Builder for
ExecutionSpan |
InternalSpan.SpanInternalWrapper| Modifier and Type | Field and Description |
|---|---|
static String |
SPAN_KIND |
static String |
STATUS |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(String key,
String value) |
void |
addError(InternalSpanError error) |
void |
end() |
void |
forEachAttribute(BiConsumer<String,String> biConsumer) |
int |
getAttributesCount() |
org.mule.runtime.api.profiling.tracing.SpanDuration |
getDuration() |
List<org.mule.runtime.api.profiling.tracing.SpanError> |
getErrors() |
static ExecutionSpan.ExecutionSpanBuilder |
getExecutionSpanBuilder() |
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 |
setRootAttribute(String s,
String s1) |
void |
updateChildSpanExporter(InternalSpan internalSpan) |
void |
updateName(String name) |
void |
updateRootName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsInternalSpanpublic static final String SPAN_KIND
public static final String STATUS
public static ExecutionSpan.ExecutionSpanBuilder getExecutionSpanBuilder()
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 List<org.mule.runtime.api.profiling.tracing.SpanError> getErrors()
getErrors in interface org.mule.runtime.api.profiling.tracing.Spanpublic void setRootAttribute(String s, String s1)
setRootAttribute in interface InternalSpanpublic int getAttributesCount()
getAttributesCount in interface InternalSpanpublic void updateRootName(String name)
updateRootName in interface InternalSpanpublic 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 void forEachAttribute(BiConsumer<String,String> biConsumer)
forEachAttribute in interface InternalSpanpublic Map<String,String> serializeAsMap()
serializeAsMap in interface InternalSpanpublic void addAttribute(String key, String value)
addAttribute in interface InternalSpanpublic void updateChildSpanExporter(InternalSpan internalSpan)
updateChildSpanExporter in interface InternalSpanCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.