@Factory @RequiresMetrics @Requires(property="micronaut.metrics.binders.jvm.enabled", value="true", defaultValue="true") public class JvmMeterRegistryBinderFactory extends java.lang.Object
Constructor and Description |
---|
JvmMeterRegistryBinderFactory() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics |
classLoaderMetrics()
JVM Class loader metrics bean.
|
io.micrometer.core.instrument.binder.jvm.JvmGcMetrics |
jvmGcMetrics()
JVM GC metrics bean.
|
io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics |
jvmMemoryMetrics()
JVM Memory metrics bean.
|
io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics |
jvmThreadMetrics()
JVM Thread metrics bean.
|
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmGcMetrics jvmGcMetrics()
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics jvmMemoryMetrics()
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics jvmThreadMetrics()
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics classLoaderMetrics()