public class FlowSpan extends Object implements Serializable
| Constructor and Description |
|---|
FlowSpan(String flowName,
io.opentelemetry.api.trace.Span span,
String transactionId) |
| Modifier and Type | Method and Description |
|---|---|
SpanMeta |
addProcessorSpan(String containerName,
TraceComponent traceComponent,
io.opentelemetry.api.trace.SpanBuilder spanBuilder)
Add a span created from given
SpanBuilder for the processor
identified at the given location String. |
SpanMeta |
endProcessorSpan(TraceComponent traceComponent,
Consumer<io.opentelemetry.api.trace.Span> spanUpdater,
Instant endTime) |
ProcessorSpan |
findSpan(String location) |
String |
getApikitConfigName() |
String |
getFlowName() |
String |
getRootSpanName() |
io.opentelemetry.api.trace.Span |
getSpan() |
Map<String,String> |
getTags() |
FlowSpan |
setRootSpanName(String rootSpanName) |
FlowSpan |
setTags(Map<String,String> tags) |
public io.opentelemetry.api.trace.Span getSpan()
public String getFlowName()
public String getApikitConfigName()
public SpanMeta addProcessorSpan(String containerName, TraceComponent traceComponent, io.opentelemetry.api.trace.SpanBuilder spanBuilder)
SpanBuilder for the processor
identified at the given location String.
When containerName String is provided, an existing span of that
container (eg. Flow) is set as the parent span of this processor span.containerName - StringtraceComponent - TraceComponentspanBuilder - SpanBuilderpublic SpanMeta endProcessorSpan(TraceComponent traceComponent, Consumer<io.opentelemetry.api.trace.Span> spanUpdater, Instant endTime)
public ProcessorSpan findSpan(String location)
public String getRootSpanName()
Copyright © 2024 AVIO Consulting. All rights reserved.