Package io.vertx.mutiny.micrometer
Interface PrometheusScrapingHandler
- All Superinterfaces:
MutinyDelegate
- All Known Implementing Classes:
PrometheusScrapingHandler.PrometheusScrapingHandlerImpl
A Vert.x Web
Route handler for Prometheus metrics scraping.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Thomas Segismont
- See Also:
-
PrometheusScrapingHandler
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic Consumer<RoutingContext>create()Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.static Consumer<RoutingContext>create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry) Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.static Consumer<RoutingContext>Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.io.vertx.micrometer.PrometheusScrapingHandlerstatic PrometheusScrapingHandlernewInstance(io.vertx.micrometer.PrometheusScrapingHandler delegate) Creates a new instance of thePrometheusScrapingHandler.
-
Method Details
-
getDelegate
io.vertx.micrometer.PrometheusScrapingHandler getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
create
Creates a Vert.x WebRoutehandler for Prometheus metrics scraping. The default backend registry is used.- Returns:
- a
Routehandler for the default backend registry - See Also:
-
BackendRegistries#getDefaultNow()
-
create
Creates a Vert.x WebRoutehandler for Prometheus metrics scraping. The registry specified byregistryNameis used.- Parameters:
registryName- the backend metrics registry- Returns:
- a
Routehandler for a specific metrics registry - See Also:
-
BackendRegistries#getNow(String)
-
create
static Consumer<RoutingContext> create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry) Creates a Vert.x WebRoutehandler for Prometheus metrics scraping. The registry specified byregistryis used.- Parameters:
registry- the backend metrics registry- Returns:
- a
Routehandler for a specific metrics registry
-
newInstance
static PrometheusScrapingHandler newInstance(io.vertx.micrometer.PrometheusScrapingHandler delegate) Creates a new instance of thePrometheusScrapingHandler.
-