From 0b460f90fdd9ea00ab5a8058e5c5ba12a33f2af5 Mon Sep 17 00:00:00 2001 From: "s. rannou" Date: Mon, 20 Nov 2023 11:55:17 +0100 Subject: [PATCH] feat: prefix key count metric --- eth_validator_watcher/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth_validator_watcher/utils.py b/eth_validator_watcher/utils.py index f1ecff5..074a3ad 100644 --- a/eth_validator_watcher/utils.py +++ b/eth_validator_watcher/utils.py @@ -40,7 +40,7 @@ '"Infinite."', ] -keys_count = Gauge( +metric_keys_count = Gauge( "keys_count", "Keys count", ) @@ -210,7 +210,7 @@ def get_our_pubkeys( ) our_pubkeys = pubkeys_from_file | pubkeys_from_web3signer - keys_count.set(len(our_pubkeys)) + metric_keys_count.set(len(our_pubkeys)) return our_pubkeys