Add sync-speed metric (#898)

This commit is contained in:
Paul Hauner
2020-03-18 09:25:29 +11:00
committed by GitHub
parent c198bddf9e
commit 3c8fe00510
5 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
use lazy_static::lazy_static;
pub use lighthouse_metrics::*;
lazy_static! {
pub static ref SYNC_SLOTS_PER_SECOND: Result<IntGauge> = try_create_int_gauge(
"sync_slots_per_second",
"The number of blocks being imported per second"
);
}