Uses of Interface
brave.SpanCustomizer
Package | Description |
---|---|
brave |
-
Uses of SpanCustomizer in brave
Classes in brave that implement SpanCustomizer Modifier and Type Class Description class
CurrentSpanCustomizer
Provides a mechanism for end users to be able to customise the current span.class
NoopSpanCustomizer
Performs no operations as the span represented by this is not sampled to report to the tracing system.class
ScopedSpan
Used to model the latency of an operation within a method block.class
Span
Subtype ofSpanCustomizer
which can capture latency and remote context of an operation.Methods in brave that return SpanCustomizer Modifier and Type Method Description SpanCustomizer
CurrentSpanCustomizer. annotate(String value)
Associates an event that explains latency with the current system time.SpanCustomizer
NoopSpanCustomizer. annotate(String value)
SpanCustomizer
SpanCustomizer. annotate(String value)
Associates an event that explains latency with the current system time.SpanCustomizer
Tracer. currentSpanCustomizer()
Returns a customizer for current span in scope or noop if there isn't one.abstract SpanCustomizer
Span. customizer()
Returns a customizer appropriate for the current span.SpanCustomizer
CurrentSpanCustomizer. name(String name)
Sets the string name for the logical operation this span represents.SpanCustomizer
NoopSpanCustomizer. name(String name)
SpanCustomizer
SpanCustomizer. name(String name)
Sets the string name for the logical operation this span represents.SpanCustomizer
CurrentSpanCustomizer. tag(String key, String value)
Tags give your span context for search, viewing and analysis.SpanCustomizer
NoopSpanCustomizer. tag(String key, String value)
SpanCustomizer
SpanCustomizer. 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 void
ErrorParser. error(Throwable error, SpanCustomizer customizer)
Deprecated.Used to parse errors on a subtype of SpanCustomizervoid
Tag. tag(I input, TraceContext context, SpanCustomizer span)
Tags the value parsed from theinput
.void
Tag. tag(I input, SpanCustomizer span)
Tags the value parsed from theinput
.