Interface ObservationHandler<T extends Observation.Context>

Type Parameters:
T - type of context
All Known Subinterfaces:
ObservationHandler.CompositeObservationHandler
All Known Implementing Classes:
ObservationHandler.AllMatchingCompositeObservationHandler, ObservationHandler.FirstMatchingCompositeObservationHandler, ObservationTextPublisher

public interface ObservationHandler<T extends Observation.Context>
Handler for an Observation. Hooks in to the lifecycle of an observation. Example of handler implementations can create metrics, spans or logs.
Since:
1.10.0