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(io.micrometer.prometheus.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.prometheus.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

Copyright © 2024 Eclipse. All rights reserved.