
io.lettuce.core.tracing.LettuceObservationConvention Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lettuce-core Show documentation
Show all versions of lettuce-core Show documentation
Advanced and thread-safe Java Redis client for synchronous, asynchronous, and
reactive usage. Supports Cluster, Sentinel, Pipelining, Auto-Reconnect, Codecs
and much more.
The newest version!
package io.lettuce.core.tracing;
import io.micrometer.observation.Observation;
import io.micrometer.observation.ObservationConvention;
/**
* {@link ObservationConvention} for {@link LettuceObservationContext}.
*
* @author Mark Paluch
* @since 6.3
*/
public interface LettuceObservationConvention extends ObservationConvention {
@Override
default boolean supportsContext(Observation.Context context) {
return context instanceof LettuceObservationContext;
}
/**
* @return whether to attach the full command into the trace. Use this flag with caution as sensitive arguments will be
* captured in the observation spans and metric tags.
*/
boolean includeCommandArgsInSpanTags();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy