Package io.micrometer.health
Class ServiceLevelObjective.SingleIndicator
java.lang.Object
io.micrometer.health.ServiceLevelObjective
io.micrometer.health.ServiceLevelObjective.SingleIndicator
- Enclosing class:
ServiceLevelObjective
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class io.micrometer.health.ServiceLevelObjective
ServiceLevelObjective.MultipleIndicator, ServiceLevelObjective.SingleIndicator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSingleIndicator(ServiceLevelObjective.SingleIndicator.NumericQuery query, String testDescription, Predicate<Double> test) -
Method Summary
Modifier and TypeMethodDescriptionCollection<io.micrometer.core.instrument.config.MeterFilter>Collection<io.micrometer.core.instrument.binder.MeterBinder>doublegetValue(io.micrometer.core.instrument.MeterRegistry registry) getValueAsString(io.micrometer.core.instrument.MeterRegistry registry) booleanhealthy(io.micrometer.core.instrument.MeterRegistry registry) voidtick(io.micrometer.core.instrument.MeterRegistry registry) Methods inherited from class io.micrometer.health.ServiceLevelObjective
build, compose, getBaseUnit, getFailedMessage, getId, getName, getTags
-
Constructor Details
-
SingleIndicator
protected SingleIndicator(ServiceLevelObjective.SingleIndicator.NumericQuery query, String testDescription, Predicate<Double> test)
-
-
Method Details
-
healthy
public boolean healthy(io.micrometer.core.instrument.MeterRegistry registry) - Specified by:
healthyin classServiceLevelObjective
-
tick
public void tick(io.micrometer.core.instrument.MeterRegistry registry) - Specified by:
tickin classServiceLevelObjective
-
getRequires
- Specified by:
getRequiresin classServiceLevelObjective
-
getAcceptFilters
- Specified by:
getAcceptFiltersin classServiceLevelObjective
-
getValue
public double getValue(io.micrometer.core.instrument.MeterRegistry registry) -
getValueAsString
-
getTestDescription
-