Class PrometheusScrapingHandler


  • public class PrometheusScrapingHandler
    extends Object
    A Vert.x Web Route handler for Prometheus metrics scraping.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • PrometheusScrapingHandler

        public PrometheusScrapingHandler​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public 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
      • create

        public 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
      • create

        public 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