Class DefaultBatchJobObservationConvention

java.lang.Object
org.springframework.batch.core.observability.DefaultBatchJobObservationConvention
All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<BatchJobContext>, BatchJobObservationConvention

public class DefaultBatchJobObservationConvention extends Object implements BatchJobObservationConvention
Default BatchJobObservationConvention implementation.
Since:
5.0
Author:
Marcin Grzejszczak, Mahmoud Ben Hassine
  • Constructor Details

    • DefaultBatchJobObservationConvention

      public DefaultBatchJobObservationConvention()
  • Method Details

    • getLowCardinalityKeyValues

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

      public io.micrometer.common.KeyValues getHighCardinalityKeyValues(BatchJobContext context)
      Specified by:
      getHighCardinalityKeyValues in interface io.micrometer.observation.ObservationConvention<BatchJobContext>