Class JvmMemoryMetrics
java.lang.Object
io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics
- All Implemented Interfaces:
MeterBinder
Record metrics that report utilization of various memory and buffer pools.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJvmMemoryMetrics(Iterable<? extends Tag> extraTags, JvmMemoryMeterConventions conventions) Memory metrics with extra tags and a specific convention applied to meters.JvmMemoryMetrics(Iterable<Tag> extraTags) Uses the default convention with the provided extra tags. -
Method Summary
-
Constructor Details
-
JvmMemoryMetrics
public JvmMemoryMetrics() -
JvmMemoryMetrics
Uses the default convention with the provided extra tags.- Parameters:
extraTags- tags to add to each meter's tags produced by this binder
-
JvmMemoryMetrics
Memory metrics with extra tags and a specific convention applied to meters. The supplied extra tags are not combined with the convention. Provide a convention that applies the extra tags if that is the desired outcome. The convention only applies to some meters.- Parameters:
extraTags- these will be added to meters not covered by the conventionconventions- custom conventions for applicable metrics- Since:
- 1.16.0
-
-
Method Details
-
bindTo
- Specified by:
bindToin interfaceMeterBinder
-