Class DefaultLettuceObservationConvention

    • Method Detail

      • getLowCardinalityKeyValues

        public io.micrometer.common.KeyValues getLowCardinalityKeyValues​(LettuceObservationContext context)
        Specified by:
        getLowCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<LettuceObservationContext>
      • getHighCardinalityKeyValues

        public io.micrometer.common.KeyValues getHighCardinalityKeyValues​(LettuceObservationContext context)
        Specified by:
        getHighCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<LettuceObservationContext>
      • includeCommandArgsInSpanTags

        public boolean includeCommandArgsInSpanTags()
        Specified by:
        includeCommandArgsInSpanTags in interface LettuceObservationConvention
        Returns:
        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.