Class NullObservation.NullContext

java.lang.Object
io.micrometer.observation.Observation.Context
io.micrometer.observation.NullObservation.NullContext
All Implemented Interfaces:
Observation.ContextView
Enclosing class:
NullObservation

public static class NullObservation.NullContext extends Observation.Context
A special Observation.Context that should be used only in NullObservation in special cases where clearing of scopes is important. Its only purpose is to make scenarios through NullObservation distinguishable from "normal" Observations.
Since:
1.14.0
  • Constructor Details

    • NullContext

      public NullContext()