Class ClassLoaderMetrics
java.lang.Object
io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics
- All Implemented Interfaces:
MeterBinder
Binder providing metrics related to JVM class loading.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClass loader metrics with the default convention.ClassLoaderMetrics(JvmClassLoadingMeterConventions conventions) Class loader metrics registered by this binder will use the provided convention.ClassLoaderMetrics(Iterable<Tag> extraTags) Class loader metrics using the default convention with extra tags added. -
Method Summary
-
Constructor Details
-
ClassLoaderMetrics
public ClassLoaderMetrics()Class loader metrics with the default convention. -
ClassLoaderMetrics
Class loader metrics using the default convention with extra tags added.- Parameters:
extraTags- additional tags to add to metrics registered by this binder
-
ClassLoaderMetrics
Class loader metrics registered by this binder will use the provided convention.- Parameters:
conventions- custom convention to apply- Since:
- 1.16.0
-
-
Method Details
-
bindTo
- Specified by:
bindToin interfaceMeterBinder
-