Uses of Interface
brave.SpanCustomizer
-
Packages that use SpanCustomizer Package Description brave -
-
Uses of SpanCustomizer in brave
Classes in brave that implement SpanCustomizer Modifier and Type Class Description classCurrentSpanCustomizerProvides a mechanism for end users to be able to customise the current span.classNoopSpanCustomizerPerforms no operations as the span represented by this is not sampled to report to the tracing system.classScopedSpanUsed to model the latency of an operation within a method block.classSpanSubtype ofSpanCustomizerwhich can capture latency and remote context of an operation.Methods in brave that return SpanCustomizer Modifier and Type Method Description SpanCustomizerCurrentSpanCustomizer. annotate(String value)Associates an event that explains latency with the current system time.SpanCustomizerNoopSpanCustomizer. annotate(String value)SpanCustomizerSpanCustomizer. annotate(String value)Associates an event that explains latency with the current system time.SpanCustomizerTracer. currentSpanCustomizer()Returns a customizer for current span in scope or noop if there isn't one.abstract SpanCustomizerSpan. customizer()Returns a customizer appropriate for the current span.SpanCustomizerCurrentSpanCustomizer. name(String name)Sets the string name for the logical operation this span represents.SpanCustomizerNoopSpanCustomizer. name(String name)SpanCustomizerSpanCustomizer. name(String name)Sets the string name for the logical operation this span represents.SpanCustomizerCurrentSpanCustomizer. tag(String key, String value)Tags give your span context for search, viewing and analysis.SpanCustomizerNoopSpanCustomizer. tag(String key, String value)SpanCustomizerSpanCustomizer. tag(String key, String value)Tags give your span context for search, viewing and analysis.Methods in brave with parameters of type SpanCustomizer Modifier and Type Method Description voidErrorParser. error(Throwable error, SpanCustomizer customizer)Deprecated.Used to parse errors on a subtype of SpanCustomizervoidTag. tag(I input, TraceContext context, SpanCustomizer span)Tags the value parsed from theinput.voidTag. tag(I input, SpanCustomizer span)Tags the value parsed from theinput.
-