Package io.vertx.rxjava3.micrometer
Class PrometheusScrapingHandler
- java.lang.Object
-
- io.vertx.rxjava3.micrometer.PrometheusScrapingHandler
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class PrometheusScrapingHandler extends Object implements io.vertx.lang.rx.RxDelegate
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<PrometheusScrapingHandler>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description PrometheusScrapingHandler(PrometheusScrapingHandler delegate)PrometheusScrapingHandler(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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>create(String registryName)Creates a Vert.x WebRoutehandler for Prometheus metrics scraping.booleanequals(Object o)PrometheusScrapingHandlergetDelegate()inthashCode()static PrometheusScrapingHandlernewInstance(PrometheusScrapingHandler arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<PrometheusScrapingHandler> __TYPE_ARG
-
-
Constructor Detail
-
PrometheusScrapingHandler
public PrometheusScrapingHandler(PrometheusScrapingHandler delegate)
-
PrometheusScrapingHandler
public PrometheusScrapingHandler(Object delegate)
-
-
Method Detail
-
getDelegate
public PrometheusScrapingHandler getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
create
public static Handler<RoutingContext> 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
public static Handler<RoutingContext> create(String registryName)
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
public static PrometheusScrapingHandler newInstance(PrometheusScrapingHandler arg)
-
-