shelf_handler library

A library containing a shelf handler that exposes metrics in the Prometheus text format.

Functions

prometheusHandler([CollectorRegistry? registry]) → Handler
Create a shelf handler that returns the metrics in the prometheus text representation. If no registry is provided, the CollectorRegistry.defaultRegistry is used.