Class JvmMetrics.Builder
Object
Builder
- Enclosing class:
JvmMetrics
-
Method Summary
Modifier and TypeMethodDescriptionvoidregister()Register all JVM metrics with the default registry.voidregister(PrometheusRegistry registry) Register all JVM metrics with theregistry.
-
Method Details
-
register
Register all JVM metrics with the default registry.It's safe to call this multiple times, only the first call will register the metrics, all subsequent calls will be ignored.
-
register
Register all JVM metrics with theregistry.It's safe to call this multiple times, only the first call will register the metrics, all subsequent calls will be ignored.
-