class BackendRegistries
BackendRegistries is responsible for managing registries related to particular micrometer backends (influxdb, prometheus...) It contains a store of BackendRegistry objects, each of whose encapsulating a micrometer's MeterRegistry
Author
Joel Takvorian
static fun getDefaultNow(): MeterRegistry
Get the default micrometer registry. May return |
|
static fun getNow(registryName: String): MeterRegistry
Get the micrometer registry of the given name. May return |
|
static fun registerMatchers(registry: MeterRegistry, matches: MutableList<Match>): Unit |
|
static fun setupBackend(vertx: Vertx, options: MicrometerMetricsOptions): BackendRegistry
Create a new backend registry, containing a micrometer registry, initialized with the provided options. If a registry already exists with the associated name, it is just returned without any effect. |
|
static fun stop(registryName: String): Unit
Stop (unregister) the backend registry of the given name. Any resource started by this backend registry will be released (like running HTTP server) |