Fix duplicate metric label

This commit is contained in:
Paul Hauner 2019-05-29 14:21:34 +10:00
parent 7c2ca85e34
commit a153f24bfa
No known key found for this signature in database
GPG Key ID: 5E2CFF9B75FA63DF

View File

@ -42,7 +42,7 @@ impl LocalMetrics {
IntGauge::with_opts(opts)?
},
best_slot: {
let opts = Opts::new("present_slot", "slot_of_block_at_chain_head");
let opts = Opts::new("best_slot", "slot_of_block_at_chain_head");
IntGauge::with_opts(opts)?
},
validator_count: {