public class CoreEventTracer extends Object implements EventTracer<CoreEvent>
CoreEventTracer.| Constructor and Description |
|---|
CoreEventTracer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrecordErrorAtCurrentSpanpublic Optional<InternalSpan> startComponentSpan(CoreEvent coreEvent, InitialSpanInfo spanCustomizationInfo)
startComponentSpan in interface EventTracer<CoreEvent>public Optional<InternalSpan> startComponentSpan(CoreEvent coreEvent, InitialSpanInfo initialSpanInfo, Assertion assertion)
startComponentSpan in interface EventTracer<CoreEvent>public void endCurrentSpan(CoreEvent coreEvent)
endCurrentSpan in interface EventTracer<CoreEvent>public void endCurrentSpan(CoreEvent coreEvent, Assertion condition)
endCurrentSpan in interface EventTracer<CoreEvent>public void injectDistributedTraceContext(org.mule.runtime.api.event.EventContext eventContext,
DistributedTraceContextGetter distributedTraceContextGetter)
injectDistributedTraceContext in interface EventTracer<CoreEvent>public void recordErrorAtCurrentSpan(CoreEvent coreEvent, Supplier<org.mule.runtime.api.message.Error> errorSupplier, boolean isErrorEscapingCurrentSpan)
recordErrorAtCurrentSpan in interface EventTracer<CoreEvent>public void setCurrentSpanName(CoreEvent coreEvent, String name)
setCurrentSpanName in interface EventTracer<CoreEvent>public void addCurrentSpanAttribute(CoreEvent coreEvent, String key, String value)
addCurrentSpanAttribute in interface EventTracer<CoreEvent>public void addCurrentSpanAttributes(CoreEvent coreEvent, Map<String,String> attributes)
addCurrentSpanAttributes in interface EventTracer<CoreEvent>public SpanSnifferManager getSpanExporterManager()
getSpanExporterManager in interface EventTracer<CoreEvent>public Map<String,String> getDistributedTraceContextMap(CoreEvent event)
getDistributedTraceContextMap in interface EventTracer<CoreEvent>Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.