Package io.micrometer.health
Class ServiceLevelObjective.SingleIndicator.NumericQuery
java.lang.Object
io.micrometer.health.ServiceLevelObjective.SingleIndicator.NumericQuery
- Enclosing class:
ServiceLevelObjective.SingleIndicator
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaverageOver(Duration interval) combineWith(Function<ServiceLevelObjective.SingleIndicator.Builder, ServiceLevelObjective.SingleIndicator.NumericQuery> with, BinaryOperator<Double> combiner) dividedBy(Function<ServiceLevelObjective.SingleIndicator.Builder, ServiceLevelObjective.SingleIndicator.NumericQuery> over) isEqualTo(double threshold) isGreaterThan(double threshold) isGreaterThan(Duration threshold) isGreaterThanOrEqualTo(double threshold) isGreaterThanOrEqualTo(Duration threshold) isLessThan(double threshold) isLessThan(Duration threshold) isLessThanOrEqualTo(double threshold) isLessThanOrEqualTo(Duration threshold) minus(Function<ServiceLevelObjective.SingleIndicator.Builder, ServiceLevelObjective.SingleIndicator.NumericQuery> with) multipliedBy(Function<ServiceLevelObjective.SingleIndicator.Builder, ServiceLevelObjective.SingleIndicator.NumericQuery> by) plus(Function<ServiceLevelObjective.SingleIndicator.Builder, ServiceLevelObjective.SingleIndicator.NumericQuery> with) testDuration(String thresholdDescription, Predicate<Duration> threshold)
-
Field Details
-
name
-
-
Method Details
-
isLessThan
-
isLessThanOrEqualTo
-
isGreaterThan
-
isGreaterThanOrEqualTo
-
isEqualTo
-
isLessThan
-
isLessThanOrEqualTo
-
isGreaterThan
-
isGreaterThanOrEqualTo
-
isEqualTo
-
test
public final ServiceLevelObjective.SingleIndicator test(String thresholdDescription, Predicate<Double> threshold) -
testDuration
public final ServiceLevelObjective.SingleIndicator testDuration(String thresholdDescription, Predicate<Duration> threshold) -
dividedBy
-
multipliedBy
-
plus
-
minus
-
combineWith
public final ServiceLevelObjective.SingleIndicator.NumericQuery combineWith(Function<ServiceLevelObjective.SingleIndicator.Builder, ServiceLevelObjective.SingleIndicator.NumericQuery> with, BinaryOperator<Double> combiner) -
maxOver
-
minOver
-
sumOver
-
averageOver
-