Class ProcessorSpan
- java.lang.Object
-
- com.avioconsulting.mule.opentelemetry.internal.store.ProcessorSpan
-
- All Implemented Interfaces:
SpanMeta,TransactionMeta,Serializable
public class ProcessorSpan extends Object implements SpanMeta
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProcessorSpan(io.opentelemetry.api.trace.Span span, String location, String transactionId, Instant startTime, String flowName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.opentelemetry.context.ContextgetContext()InstantgetEndTime()StringgetLocation()StringgetRootFlowName()io.opentelemetry.api.trace.SpangetSpan()StringgetSpanId()InstantgetStartTime()Map<String,String>getTags()StringgetTraceId()StringgetTransactionId()ProcessorSpansetEndTime(Instant endTime)ProcessorSpansetTags(Map<String,String> tags)
-
-
-
Method Detail
-
getTransactionId
public String getTransactionId()
- Specified by:
getTransactionIdin interfaceTransactionMeta
-
getRootFlowName
public String getRootFlowName()
- Specified by:
getRootFlowNamein interfaceTransactionMeta
-
getTraceId
public String getTraceId()
- Specified by:
getTraceIdin interfaceTransactionMeta
-
getContext
public io.opentelemetry.context.Context getContext()
- Specified by:
getContextin interfaceSpanMeta
-
getSpan
public io.opentelemetry.api.trace.Span getSpan()
- Specified by:
getSpanin interfaceTransactionMeta
-
getLocation
public String getLocation()
-
getStartTime
public Instant getStartTime()
- Specified by:
getStartTimein interfaceTransactionMeta
-
getEndTime
public Instant getEndTime()
- Specified by:
getEndTimein interfaceTransactionMeta
-
setEndTime
public ProcessorSpan setEndTime(Instant endTime)
-
getTags
public Map<String,String> getTags()
- Specified by:
getTagsin interfaceTransactionMeta
-
setTags
public ProcessorSpan setTags(Map<String,String> tags)
-
-