Expand description
A middleware module wrapping around prometheus::Registry
.
It acts as an endpoint to export metrics data to the Prometheus service.
For every request to this endpoint, it will call the updater
function to update
metrics to the latest before sending to the service.
Structsยง
- Metrics
Updater Middleware - A Middleware wrapping the Prometheus registry to report as metrics.