Interface MeterObservationHandler<T extends io.micrometer.observation.Observation.Context>

Type Parameters:
T - type of context
All Superinterfaces:
io.micrometer.observation.ObservationHandler<T>
All Known Implementing Classes:
DefaultMeterObservationHandler

public interface MeterObservationHandler<T extends io.micrometer.observation.Observation.Context> extends io.micrometer.observation.ObservationHandler<T>
Marker interface for meter handlers.
Since:
1.10.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micrometer.observation.ObservationHandler

    io.micrometer.observation.ObservationHandler.AllMatchingCompositeObservationHandler, io.micrometer.observation.ObservationHandler.CompositeObservationHandler, io.micrometer.observation.ObservationHandler.FirstMatchingCompositeObservationHandler
  • Method Summary

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

    Methods inherited from interface io.micrometer.observation.ObservationHandler

    onError, onEvent, onScopeClosed, onScopeOpened, onScopeReset, onStart, onStop
  • Method Details

    • supportsContext

      default boolean supportsContext(io.micrometer.observation.Observation.Context context)
      Specified by:
      supportsContext in interface io.micrometer.observation.ObservationHandler<T extends io.micrometer.observation.Observation.Context>