Class DiskSpaceMetrics
- java.lang.Object
-
- io.micrometer.core.instrument.binder.jvm.DiskSpaceMetrics
-
- All Implemented Interfaces:
MeterBinder
@Incubating(since="1.1.0") @NonNullApi @NonNullFields public class DiskSpaceMetrics extends java.lang.Object implements MeterBinder
Record metrics that report disk space usage.
-
-
Constructor Summary
Constructors Constructor Description DiskSpaceMetrics(java.io.File path)
DiskSpaceMetrics(java.io.File path, java.lang.Iterable<Tag> tags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindTo(MeterRegistry registry)
-
-
-
Constructor Detail
-
DiskSpaceMetrics
public DiskSpaceMetrics(java.io.File path)
-
DiskSpaceMetrics
public DiskSpaceMetrics(java.io.File path, java.lang.Iterable<Tag> tags)
-
-
Method Detail
-
bindTo
public void bindTo(MeterRegistry registry)
- Specified by:
bindTo
in interfaceMeterBinder
-
-