vertx / io.vertx.micrometer.backends / BackendRegistries

# BackendRegistries

`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

### Functions

getDefaultNow | `static fun getDefaultNow(): MeterRegistry` Get the default micrometer registry. May return `null` if it hasn't been registered yet or if it has been stopped.
getNow | `static fun getNow(registryName: String): MeterRegistry` Get the micrometer registry of the given name. May return `null` if it hasn't been registered yet or if it has been stopped.
registerMatchers | `static fun registerMatchers(registry: MeterRegistry, matches: MutableList<Match>): Unit`
setupBackend | `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.
stop | `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)