Interface KafkaTemplateObservationConvention

All Superinterfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>
All Known Implementing Classes:
KafkaTemplateObservation.DefaultKafkaTemplateObservationConvention

public interface KafkaTemplateObservationConvention extends io.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>
ObservationConvention for Kafka template key values.
Since:
3.0
Author:
Gary Russell
  • Field Summary

    Fields inherited from interface io.micrometer.observation.ObservationConvention

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
     
    default boolean
    supportsContext(io.micrometer.observation.Observation.Context context)
     

    Methods inherited from interface io.micrometer.observation.ObservationConvention

    getContextualName, getHighCardinalityKeyValues, getLowCardinalityKeyValues
  • Method Details

    • supportsContext

      default boolean supportsContext(io.micrometer.observation.Observation.Context context)
      Specified by:
      supportsContext in interface io.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>
    • getName

      default String getName()
      Specified by:
      getName in interface io.micrometer.observation.ObservationConvention<KafkaRecordSenderContext>