We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf32799 commit 7636066Copy full SHA for 7636066
crates/consensus/providers-alloy/src/metrics.rs
@@ -114,6 +114,7 @@ impl Metrics {
114
base_macros::set!(gauge, Self::CHAIN_PROVIDER_CACHE_HITS, "cache", "header_by_hash", 0);
115
base_macros::set!(gauge, Self::CHAIN_PROVIDER_CACHE_HITS, "cache", "receipts_by_hash", 0);
116
base_macros::set!(gauge, Self::CHAIN_PROVIDER_CACHE_HITS, "cache", "block_info_and_tx", 0);
117
+ base_macros::set!(gauge, Self::CHAIN_PROVIDER_CACHE_HITS, "cache", "block_by_number", 0);
118
119
base_macros::set!(gauge, Self::CHAIN_PROVIDER_CACHE_MISSES, "cache", "header_by_hash", 0);
120
base_macros::set!(gauge, Self::CHAIN_PROVIDER_CACHE_MISSES, "cache", "receipts_by_hash", 0);
@@ -124,6 +125,7 @@ impl Metrics {
124
125
"block_info_and_tx",
126
0
127
);
128
+ base_macros::set!(gauge, Self::CHAIN_PROVIDER_CACHE_MISSES, "cache", "block_by_number", 0);
129
130
// RPC call metrics
131
base_macros::set!(gauge, Self::CHAIN_PROVIDER_RPC_CALLS, "method", "header_by_hash", 0);
0 commit comments