public class ProcessorSpan extends Object implements SpanMeta
| Constructor and Description |
|---|
ProcessorSpan(io.opentelemetry.api.trace.Span span,
String location,
String transactionId,
Instant startTime,
String flowName) |
| Modifier and Type | Method and Description |
|---|---|
io.opentelemetry.context.Context |
getContext() |
Instant |
getEndTime() |
String |
getLocation() |
String |
getRootFlowName() |
io.opentelemetry.api.trace.Span |
getSpan() |
String |
getSpanId() |
Instant |
getStartTime() |
Map<String,String> |
getTags() |
String |
getTraceId() |
String |
getTransactionId() |
ProcessorSpan |
setEndTime(Instant endTime) |
ProcessorSpan |
setTags(Map<String,String> tags) |
public String getTransactionId()
getTransactionId in interface TransactionMetapublic String getRootFlowName()
getRootFlowName in interface TransactionMetapublic String getTraceId()
getTraceId in interface TransactionMetapublic io.opentelemetry.context.Context getContext()
getContext in interface SpanMetapublic io.opentelemetry.api.trace.Span getSpan()
getSpan in interface TransactionMetapublic String getLocation()
public Instant getStartTime()
getStartTime in interface TransactionMetapublic Instant getEndTime()
getEndTime in interface TransactionMetapublic ProcessorSpan setEndTime(Instant endTime)
public Map<String,String> getTags()
getTags in interface TransactionMetapublic ProcessorSpan setTags(Map<String,String> tags)
Copyright © 2024 AVIO Consulting. All rights reserved.