From 2d759f78be6ce4432d20e802d7e8c3bead82ade8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Risti=C4=87?= Date: Mon, 30 Jun 2025 02:11:14 +0200 Subject: [PATCH] Fix beacon_chain metrics descriptions (#6576) n/a Just fixed a small mistake in the metrics description. --- beacon_node/beacon_chain/src/metrics.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/beacon_node/beacon_chain/src/metrics.rs b/beacon_node/beacon_chain/src/metrics.rs index fae11de644..5ca764821f 100644 --- a/beacon_node/beacon_chain/src/metrics.rs +++ b/beacon_node/beacon_chain/src/metrics.rs @@ -260,7 +260,7 @@ pub static UNAGGREGATED_ATTESTATION_GOSSIP_VERIFICATION_TIMES: LazyLock> LazyLock::new(|| { try_create_histogram( "beacon_attestation_processing_state_skip_seconds", - "Time spent on reading the state during attestation processing", + "Time spent on skipping the state during attestation processing", ) }); pub static ATTESTATION_PROCESSING_SIGNATURE_SETUP_TIMES: LazyLock> = @@ -1334,13 +1334,14 @@ pub static BEACON_BLOCK_DELAY_OBSERVED_SLOT_START: LazyLock> = ) }); -pub static BEACON_BLOB_DELAY_ALL_OBSERVED_SLOT_START: LazyLock> = - LazyLock::new(|| { +pub static BEACON_BLOB_DELAY_ALL_OBSERVED_SLOT_START: LazyLock> = LazyLock::new( + || { try_create_int_gauge( "beacon_blob_delay_all_observed_slot_start", - "Duration between the start of the block's slot and the time the block was observed.", + "Duration between the start of the block's slot and the time when all blobs have been observed.", ) - }); + }, +); pub static BEACON_BLOCK_DELAY_CONSENSUS_VERIFICATION_TIME: LazyLock> = LazyLock::new(|| {