Class NoopSpan
- java.lang.Object
-
- org.apache.ignite.internal.processors.tracing.NoopSpan
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpanaddLog(Supplier<String> logDescSupplier)Logs work to span.SpanaddTag(String tagName, Supplier<String> tagValSupplier)Adds tag to span withStringvalue.Spanend()Ends span.Set<Scope>includedScopes()booleanisEnded()SpansetStatus(SpanStatus spanStatus)Explicitly set status for span.SpanTypetype()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.processors.tracing.Span
isChainable
-
-
-
-
Field Detail
-
INSTANCE
public static final Span INSTANCE
Instance.
-
-
Method Detail
-
addTag
public Span addTag(String tagName, Supplier<String> tagValSupplier)
Adds tag to span withStringvalue.
-
setStatus
public Span setStatus(SpanStatus spanStatus)
Explicitly set status for span.
-
end
public Span end()
Ends span. This action sets default status if not set and mark the span as ready to be exported.
-
isEnded
public boolean isEnded()
-
includedScopes
public Set<Scope> includedScopes()
- Specified by:
includedScopesin interfaceSpan- Returns:
- Set of included scopes.
-
-