Package io.vertx.micrometer.backends
Class PrometheusBackendRegistry
- java.lang.Object
-
- io.vertx.micrometer.backends.PrometheusBackendRegistry
-
- All Implemented Interfaces:
BackendRegistry
public final class PrometheusBackendRegistry extends Object implements BackendRegistry
- Author:
- Joel Takvorian
-
-
Constructor Summary
Constructors Constructor Description PrometheusBackendRegistry(VertxPrometheusOptions options)
PrometheusBackendRegistry(VertxPrometheusOptions options, io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
io.micrometer.core.instrument.MeterRegistry
getMeterRegistry()
void
init()
-
-
-
Constructor Detail
-
PrometheusBackendRegistry
public PrometheusBackendRegistry(VertxPrometheusOptions options)
-
PrometheusBackendRegistry
public PrometheusBackendRegistry(VertxPrometheusOptions options, io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)
-
-
Method Detail
-
getMeterRegistry
public io.micrometer.core.instrument.MeterRegistry getMeterRegistry()
- Specified by:
getMeterRegistry
in interfaceBackendRegistry
-
init
public void init()
- Specified by:
init
in interfaceBackendRegistry
-
close
public void close()
- Specified by:
close
in interfaceBackendRegistry
-
-