class Prometheus::Middleware::Exporter

Exporter is a Rack middleware that provides a sample implementation of a Prometheus HTTP exposition endpoint.

By default it will export the state of the global registry and expose it under ‘/metrics`. Use the `:registry` and `:path` options to change the defaults.