io.vertx.micrometer

## Interface PrometheusScrapingHandler

-     public interface PrometheusScrapingHandler

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

- - ### Method Summary

    All Methods Static Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Handler<RoutingContext>` | `create()` 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)`

Copyright © 2022 Eclipse. All rights reserved.