vertx / io.vertx.micrometer / MicrometerMetricsOptions / setRegistryName

setRegistryName

open fun setRegistryName(registryName: String): MicrometerMetricsOptions

Set a name for the metrics registry, so that a new registry will be created and associated with this name. If registryName is not provided (or null), a default registry will be used. If the same name is given to several Vert.x instances (within the same JVM), they will share the same registry.

Parameters

registryName - a name to uniquely identify this registry