Remove hypen from prometheus metric name

This commit is contained in:
Paul Hauner
2019-08-11 16:15:26 +10:00
parent 441eb41b6b
commit 76f42ac7ff

View File

@@ -19,7 +19,7 @@ lazy_static! {
"Time spent loading block and state from DB for block processing" "Time spent loading block and state from DB for block processing"
); );
pub static ref BLOCK_PROCESSING_CATCHUP_STATE: Result<Histogram> = try_create_histogram( pub static ref BLOCK_PROCESSING_CATCHUP_STATE: Result<Histogram> = try_create_histogram(
"block_processing_catch-up_state_times", "block_processing_catch_up_state_times",
"Time spent skipping slots on a state before processing a block." "Time spent skipping slots on a state before processing a block."
); );
pub static ref BLOCK_PROCESSING_COMMITTEE: Result<Histogram> = try_create_histogram( pub static ref BLOCK_PROCESSING_COMMITTEE: Result<Histogram> = try_create_histogram(