Package io.micrometer.health
Class ServiceLevelObjective
java.lang.Object
io.micrometer.health.ServiceLevelObjective
- Direct Known Subclasses:
ServiceLevelObjective.MultipleIndicator
,ServiceLevelObjective.SingleIndicator
Service level objective.
- Since:
- 1.6.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
ModifierConstructorDescriptionprotected
ServiceLevelObjective
(String name, io.micrometer.core.instrument.Tags tags, String baseUnit, String failedMessage) -
Method Summary
Modifier and TypeMethodDescriptioncompose
(String name, ServiceLevelObjective... objectives) abstract Collection<io.micrometer.core.instrument.config.MeterFilter>
io.micrometer.core.instrument.Meter.Id
getId()
getName()
abstract Collection<io.micrometer.core.instrument.binder.MeterBinder>
Iterable<io.micrometer.core.instrument.Tag>
getTags()
abstract boolean
healthy
(io.micrometer.core.instrument.MeterRegistry registry) abstract void
tick
(io.micrometer.core.instrument.MeterRegistry registry)
-
Constructor Details
-
ServiceLevelObjective
-
-
Method Details
-
getName
-
getTags
-
getBaseUnit
-
getId
public io.micrometer.core.instrument.Meter.Id getId() -
getFailedMessage
-
getRequires
-
getAcceptFilters
-
tick
public abstract void tick(io.micrometer.core.instrument.MeterRegistry registry) -
healthy
public abstract boolean healthy(io.micrometer.core.instrument.MeterRegistry registry) -
compose
public static ServiceLevelObjective.MultipleIndicator.Builder compose(String name, ServiceLevelObjective... objectives) -
build
-