Class DiskSpaceIndicator

java.lang.Object
io.micronaut.management.health.indicator.AbstractHealthIndicator<Map<String,Object>>
io.micronaut.management.health.indicator.diskspace.DiskSpaceIndicator
All Implemented Interfaces:
Ordered, HealthIndicator

@Singleton @Requires(property="endpoints.health.disk-space.enabled",notEquals="false") @Requires(beans=HealthEndpoint.class) public class DiskSpaceIndicator extends AbstractHealthIndicator<Map<String,Object>>

A HealthIndicator used to display information about the disk space of the server. Returns HealthStatus.DOWN if the free space is less than the configured threshold.

Since:
1.0
Author:
James Kleeh
See Also:
  • DiskSpaceIndicatorConfiguration.threshold