Prometheus Metrics: Turn notifications_total counter into notifications_sizes histogram (#5535)

* Turn notifications_total into notifications_sizes

* Address review
This commit is contained in:
Pierre Krieger
2020-04-06 18:36:46 +02:00
committed by GitHub
parent 84a9c17b4e
commit dba0fcbaea
2 changed files with 19 additions and 10 deletions
+1
View File
@@ -19,6 +19,7 @@ pub use prometheus::{
self,
Registry, Error as PrometheusError, Opts,
Histogram, HistogramOpts, HistogramVec,
exponential_buckets,
core::{
GenericGauge as Gauge, GenericCounter as Counter,
GenericGaugeVec as GaugeVec, GenericCounterVec as CounterVec,