Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrometheusScrapingHandler

A Vert.x Web {@link Route} handler for Prometheus metrics scraping.

Hierarchy

  • PrometheusScrapingHandler

Index

Methods

Methods

Static create

  • create(): ((res: RoutingContext) => void) | Handler<RoutingContext>
  • create(registryName: string): ((res: RoutingContext) => void) | Handler<RoutingContext>
  • create(registry: any): ((res: RoutingContext) => void) | Handler<RoutingContext>
  • Creates a Vert.x Web {@link Route} handler for Prometheus metrics scraping. The default backend registry is used.

    Returns ((res: RoutingContext) => void) | Handler<RoutingContext>

  • Creates a Vert.x Web {@link Route} handler for Prometheus metrics scraping. The registry specified by registryName is used.

    Parameters

    • registryName: string

    Returns ((res: RoutingContext) => void) | Handler<RoutingContext>

  • Creates a Vert.x Web {@link Route} handler for Prometheus metrics scraping. The registry specified by registry is used.

    Parameters

    • registry: any

    Returns ((res: RoutingContext) => void) | Handler<RoutingContext>

Generated using TypeDoc