Uses of Class
brave.ScopedSpan
| Package | Description |
|---|---|
| brave |
-
Uses of ScopedSpan in brave
Methods in brave that return ScopedSpan Modifier and Type Method Description abstract ScopedSpanScopedSpan. annotate(String value)Associates an event that explains latency with the current system time.abstract ScopedSpanScopedSpan. error(Throwable throwable)Adds tags depending on the configurederror parserScopedSpanTracer. startScopedSpan(String name)Returns a new child span if there's aTracer.currentSpan()or a new trace if there isn't.<T> ScopedSpanTracer. startScopedSpan(String name, SamplerFunction<T> samplerFunction, T arg)LikeTracer.startScopedSpan(String)except when there is no trace in process, the samplertriggersagainst the supplied argument.ScopedSpanTracer. startScopedSpanWithParent(String name, TraceContext parent)Same asTracer.startScopedSpan(String), except ignores the current trace context.abstract ScopedSpanScopedSpan. tag(String key, String value)Tags give your span context for search, viewing and analysis.Methods in brave with parameters of type ScopedSpan Modifier and Type Method Description voidErrorParser. error(Throwable error, ScopedSpan scopedSpan)Used to parse errors on a subtype of ScopedSpan