Class PrometheusScrapingHandler
java.lang.Object
io.vertx.rxjava3.micrometer.PrometheusScrapingHandler
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.vertx.lang.rx.TypeArg<PrometheusScrapingHandler> -
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
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
create
-
create
-
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
-