Package io.vertx.micrometer

## Interface PrometheusScrapingHandler

-     public interface PrometheusScrapingHandler

  A Vert.x Web `Route` handler for Prometheus metrics scraping.
  Author:
    Thomas Segismont

- - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Handler<RoutingContext>` | `create()` | Creates a Vert.x Web `Route` handler for Prometheus metrics scraping.
    `static Handler<RoutingContext>` | `create​(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)` | Creates a Vert.x Web `Route` handler for Prometheus metrics scraping.
    `static Handler<RoutingContext>` | `create​(String registryName)` | Creates a Vert.x Web `Route` handler for Prometheus metrics scraping.

- - ### Method Detail

    - #### create

          static Handler<RoutingContext> create()

      Creates a Vert.x Web `Route` handler for Prometheus metrics scraping. The default backend registry is used.
      Returns:
        a `Route` handler for the default backend registry
      See Also:
        `BackendRegistries.getDefaultNow()`

    - #### create

          static Handler<RoutingContext> create​(String registryName)

      Creates a Vert.x Web `Route` handler for Prometheus metrics scraping. The registry specified by `registryName` is used.
      Parameters:
        `registryName` - the backend metrics registry
      Returns:
        a `Route` handler for a specific metrics registry
      See Also:
        `BackendRegistries.getNow(String)`

    - #### create

          static Handler<RoutingContext> create​(io.micrometer.prometheusmetrics.PrometheusMeterRegistry registry)

      Creates a Vert.x Web `Route` handler for Prometheus metrics scraping. The registry specified by `registry` is used.
      Parameters:
        `registry` - the backend metrics registry
      Returns:
        a `Route` handler for a specific metrics registry