Conditionally on Micrometer Tracing classpath availability, it would make sense to configure MicrometerTracing for the Lettuce driver instead of MicrometerCommandLatencyRecorder.

MicrometerTracing uses the broader Observability API and can deliver spans and metrics whereas MicrometerCommandLatencyRecorder records only timers.