Package org.apache.flink.traces
Interface Span
-
- All Known Implementing Classes:
SimpleSpan
@Experimental public interface Span
Span represents something that happened in Flink at certain point of time, that will be reported to aTraceReporter
.Currently we don't support traces with multiple spans. Each span is self-contained and represents things like a checkpoint or recovery.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SpanBuilder
builder(Class<?> classScope, String name)
Map<String,Object>
getAttributes()
Currently returned values can be of type String, Long or Double, however more types can be added in the future.long
getEndTsMillis()
String
getName()
String
getScope()
long
getStartTsMillis()
-
-
-
Method Detail
-
builder
static SpanBuilder builder(Class<?> classScope, String name)
-
getScope
String getScope()
-
getName
String getName()
-
getStartTsMillis
long getStartTsMillis()
-
getEndTsMillis
long getEndTsMillis()
-
-