Class JvmMeterRegistryBinderFactory
java.lang.Object
io.micronaut.configuration.metrics.binder.jvm.JvmMeterRegistryBinderFactory
@Factory
@RequiresMetrics
@Requires(property="micronaut.metrics.binders.jvm.enabled",
notEquals="false")
public class JvmMeterRegistryBinderFactory
extends Object
Creates the JVM metrics beans.
- Since:
- 1.0
- Author:
- Christian Oestreich
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics
JVM Class loader metrics bean.io.micrometer.core.instrument.binder.jvm.JvmGcMetrics
JVM GC metrics bean.io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics
JVM Memory metrics bean.io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics
JVM Thread metrics bean.
-
Constructor Details
-
JvmMeterRegistryBinderFactory
public JvmMeterRegistryBinderFactory()
-
-
Method Details
-
jvmGcMetrics
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmGcMetrics jvmGcMetrics()JVM GC metrics bean.- Returns:
- jvmGcMetrics
-
jvmMemoryMetrics
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmMemoryMetrics jvmMemoryMetrics()JVM Memory metrics bean.- Returns:
- jvmMemoryMetrics
-
jvmThreadMetrics
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.JvmThreadMetrics jvmThreadMetrics()JVM Thread metrics bean.- Returns:
- jvmThreadMetrics
-
classLoaderMetrics
@Bean @Primary @Singleton public io.micrometer.core.instrument.binder.jvm.ClassLoaderMetrics classLoaderMetrics()JVM Class loader metrics bean.- Returns:
- classLoaderMetrics
-