java.lang.Object
io.lettuce.core.tracing.Tracer
public abstract class Tracer extends Object
Tracing abstraction to create
Tracer.Spans to capture latency and behavior of Redis commands.- Since:
- 5.1
- Author:
- Mark Paluch
- See Also:
Tracer.Span
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTracer.SpanUsed to model the latency of an operation along with tags such as name or theTracing.Endpoint. -
Constructor Summary
Constructors Constructor Description Tracer() -
Method Summary
Modifier and Type Method Description abstract Tracer.SpannextSpan()Returns a new traceTracer.Span.abstract Tracer.SpannextSpan(TraceContext traceContext)
-
Constructor Details
-
Tracer
public Tracer()
-
-
Method Details
-
nextSpan
Returns a new traceTracer.Span.- Returns:
- a new
Tracer.Span.
-
nextSpan
- Parameters:
traceContext- the trace context.- Returns:
- a new
Tracer.Span.
-