Package org.apache.flink.traces
Interface Span
-
- All Known Implementing Classes:
SimpleSpan
@Experimental public interface SpanSpan represents something that happened in Flink at certain point of time, that will be reported to aTraceReporter.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SpanBuilderbuilder(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.List<Span>getChildren()Returns the child spans (= nested).longgetEndTsMillis()StringgetName()StringgetScope()longgetStartTsMillis()
-
-
-
Method Detail
-
builder
static SpanBuilder builder(Class<?> classScope, String name)
-
getScope
String getScope()
-
getName
String getName()
-
getStartTsMillis
long getStartTsMillis()
-
getEndTsMillis
long getEndTsMillis()
-
getAttributes
Map<String,Object> getAttributes()
Currently returned values can be of type String, Long or Double, however more types can be added in the future.
-
-