Package io.vertx.rxjava3.micrometer
Class PrometheusScrapingHandler
java.lang.Object
io.vertx.rxjava3.micrometer.PrometheusScrapingHandler
- All Implemented Interfaces:
RxDelegate
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Handler<RoutingContext>create()Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.static Handler<RoutingContext>create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry) Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.static Handler<RoutingContext>Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.booleaninthashCode()static PrometheusScrapingHandlertoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
PrometheusScrapingHandler
-
PrometheusScrapingHandler
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getDelegate
- Specified by:
getDelegatein interfaceRxDelegate
-
create
Creates a Vert.x WebRoutehandler for Prometheus metrics scraping. The default backend registry is used.- Returns:
- a
Routehandler for the default backend registry
-
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
-
create
public static Handler<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
-