Package io.vertx.reactivex.micrometer
Class PrometheusScrapingHandler
- java.lang.Object
-
- io.vertx.reactivex.micrometer.PrometheusScrapingHandler
-
public class PrometheusScrapingHandler extends Object
-
-
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 WebRoute
handler for Prometheus metrics scraping.static Handler<RoutingContext>
create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)
Creates a Vert.x WebRoute
handler for Prometheus metrics scraping.static Handler<RoutingContext>
create(String registryName)
Creates a Vert.x WebRoute
handler for Prometheus metrics scraping.boolean
equals(Object o)
PrometheusScrapingHandler
getDelegate()
int
hashCode()
static PrometheusScrapingHandler
newInstance(PrometheusScrapingHandler arg)
String
toString()
-
-
-
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()
-
create
public static Handler<RoutingContext> create()
Creates a Vert.x WebRoute
handler for Prometheus metrics scraping. The default backend registry is used.- Returns:
- a
Route
handler for the default backend registry
-
create
public static Handler<RoutingContext> create(String registryName)
Creates a Vert.x WebRoute
handler for Prometheus metrics scraping. The registry specified byregistryName
is used.- Parameters:
registryName
- the backend metrics registry- Returns:
- a
Route
handler for a specific metrics registry
-
create
public static Handler<RoutingContext> create(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)
Creates a Vert.x WebRoute
handler for Prometheus metrics scraping. The registry specified byregistry
is used.- Parameters:
registry
- the backend metrics registry- Returns:
- a
Route
handler for a specific metrics registry
-
newInstance
public static PrometheusScrapingHandler newInstance(PrometheusScrapingHandler arg)
-
-