Class JvmHeapPressureMetrics
java.lang.Object
io.micrometer.core.instrument.binder.jvm.JvmHeapPressureMetrics
- All Implemented Interfaces:
MeterBinder
,java.lang.AutoCloseable
public class JvmHeapPressureMetrics extends java.lang.Object implements MeterBinder, java.lang.AutoCloseable
Provides methods to access measurements of low pool memory and heavy GC overhead as described in
TeamCity's Memory Monitor.
- Since:
- 1.4.0
-
Constructor Summary
Constructors Constructor Description JvmHeapPressureMetrics()
JvmHeapPressureMetrics(java.lang.Iterable<Tag> tags, java.time.Duration lookback, java.time.Duration testEvery)
-
Method Summary
Modifier and Type Method Description void
bindTo(MeterRegistry registry)
void
close()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
JvmHeapPressureMetrics
public JvmHeapPressureMetrics() -
JvmHeapPressureMetrics
public JvmHeapPressureMetrics(java.lang.Iterable<Tag> tags, java.time.Duration lookback, java.time.Duration testEvery)
-
-
Method Details
-
bindTo
- Specified by:
bindTo
in interfaceMeterBinder
-
close
public void close()- Specified by:
close
in interfacejava.lang.AutoCloseable
-