Class MicrometerTracingAdapter.MicrometerTracer

java.lang.Object
io.lettuce.core.tracing.Tracer
org.springframework.data.redis.connection.lettuce.observability.MicrometerTracingAdapter.MicrometerTracer
Enclosing class:
MicrometerTracingAdapter

public class MicrometerTracingAdapter.MicrometerTracer extends io.lettuce.core.tracing.Tracer
Tracer implementation based on Micrometer's ObservationRegistry.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.lettuce.core.tracing.Tracer

    io.lettuce.core.tracing.Tracer.Span
  • Constructor Summary

    Constructors
    Constructor
    Description
    MicrometerTracer(io.micrometer.observation.ObservationRegistry observationRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.lettuce.core.tracing.Tracer.Span
     
    io.lettuce.core.tracing.Tracer.Span
    nextSpan(io.lettuce.core.tracing.TraceContext traceContext)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MicrometerTracer

      public MicrometerTracer(io.micrometer.observation.ObservationRegistry observationRegistry)
  • Method Details

    • nextSpan

      public io.lettuce.core.tracing.Tracer.Span nextSpan()
      Specified by:
      nextSpan in class io.lettuce.core.tracing.Tracer
    • nextSpan

      public io.lettuce.core.tracing.Tracer.Span nextSpan(io.lettuce.core.tracing.TraceContext traceContext)
      Specified by:
      nextSpan in class io.lettuce.core.tracing.Tracer