Interface Observation

All Superinterfaces:
ObservationView
All Known Implementing Classes:
NullObservation

public interface Observation extends ObservationView
An act of viewing or noticing a fact or an occurrence for some scientific or other special purpose (According to dictionary.com). You can wrap an operation within your code in an Observation so that actions can take place within the lifecycle of that observation via the ObservationHandler. According to what is configured the actions can be e.g. taking measurements via Timer, creating spans for distributed tracing, correlating logs or just logging out additional information. You instrument your code once with an Observation but you can get as many benefits out of it as many ObservationHandler you have.
Since:
1.10.0