Class LettuceObservationContext

java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.transport.SenderContext<Object>
org.springframework.data.redis.connection.lettuce.observability.LettuceObservationContext
All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView

public class LettuceObservationContext extends io.micrometer.observation.transport.SenderContext<Object>
Micrometer Observation.Context holding Lettuce contextual details.
Since:
3.0
Author:
Mark Paluch
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.lettuce.core.protocol.RedisCommand<?,?,?>
     
    io.lettuce.core.tracing.Tracing.Endpoint
     
    void
    setCommand(io.lettuce.core.protocol.RedisCommand<?,?,?> command)
     
    void
    setEndpoint(io.lettuce.core.tracing.Tracing.Endpoint endpoint)
     

    Methods inherited from class io.micrometer.observation.transport.SenderContext

    getCarrier, getKind, getRemoteServiceAddress, getRemoteServiceName, getSetter, setCarrier, setRemoteServiceAddress, setRemoteServiceName

    Methods inherited from class io.micrometer.observation.Observation.Context

    addHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValue, getHighCardinalityKeyValues, getLowCardinalityKeyValue, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, removeHighCardinalityKeyValue, removeHighCardinalityKeyValues, removeLowCardinalityKeyValue, removeLowCardinalityKeyValues, setContextualName, setError, setName, setParentObservation, toString

    Methods inherited from class java.lang.Object

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

    • LettuceObservationContext

      public LettuceObservationContext(String serviceName)
  • Method Details

    • getRequiredCommand

      public io.lettuce.core.protocol.RedisCommand<?,?,?> getRequiredCommand()
    • setCommand

      public void setCommand(io.lettuce.core.protocol.RedisCommand<?,?,?> command)
    • getRequiredEndpoint

      public io.lettuce.core.tracing.Tracing.Endpoint getRequiredEndpoint()
    • setEndpoint

      public void setEndpoint(io.lettuce.core.tracing.Tracing.Endpoint endpoint)