Uses of Enum Class
com.ants.platform.tracing.ObservationType
Packages that use ObservationType
-
Uses of ObservationType in com.ants.platform.tracing
Methods in com.ants.platform.tracing that return ObservationTypeModifier and TypeMethodDescriptionAntsObservation.type()The observation type.static ObservationTypeReturns the enum constant of this class with the specified name.static ObservationType[]ObservationType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.ants.platform.tracing with parameters of type ObservationTypeModifier and TypeMethodDescriptionstatic <T> TAnts.observe(String name, ObservationType type, Function<AntsObservation, T> fn) Runsfnwith a new active observation and returns its result.static voidAnts.startActiveObservation(String name, ObservationType type, Consumer<AntsObservation> fn) Runsfnwith a new observation set as the active span, so any observations created inside nest under it automatically.AntsObservation.startChild(String name, ObservationType childType) Starts a child observation parented to this one.static AntsObservationAnts.startObservation(String name, ObservationType type) Starts an observation of the given type, nested under the current active span if any.static AntsObservationAnts.startObservation(String name, ObservationType type, AntsObservation parent) Starts an observation explicitly parented toparent.