From a153f24bfad3fa76801e103353b65df726dfcb5e Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Wed, 29 May 2019 14:21:34 +1000 Subject: [PATCH] Fix duplicate metric label --- beacon_node/http_server/src/metrics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/http_server/src/metrics.rs b/beacon_node/http_server/src/metrics.rs index ed5eeb79a..2c6cda0ea 100644 --- a/beacon_node/http_server/src/metrics.rs +++ b/beacon_node/http_server/src/metrics.rs @@ -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: {