Implement timeline-based metrics in safekeeper (#1823)

Now there's timelines metrics collector, which goes through all timelines and reports metrics only for active ones
This commit is contained in:
Arthur Petukhovsky
2022-05-31 11:10:50 +03:00
committed by GitHub
parent 36281e3b47
commit c3e0b6c839
7 changed files with 384 additions and 49 deletions

View File

@@ -3,6 +3,7 @@
//! Otherwise, we might not see all metrics registered via
//! a default registry.
use lazy_static::lazy_static;
pub use prometheus::{core, default_registry, proto};
pub use prometheus::{exponential_buckets, linear_buckets};
pub use prometheus::{register_gauge, Gauge};
pub use prometheus::{register_gauge_vec, GaugeVec};