Expand description
rustlavel-metrics: Prometheus metrics, gathered from what the framework already reports.
Nothing has to be instrumented twice. Every package dispatches on the instrumentation bus; this listens and keeps counters and histograms, and serves them in the text format Prometheus scrapes.
ⓘ
App::new()?.plugin(Metrics::default()) // exposes /metricsStructs§
Constants§
- BUCKETS
- The bucket boundaries, in seconds.