Skip to content

Commit 2d759f7

Browse files
authored
Fix beacon_chain metrics descriptions (#6576)
n/a Just fixed a small mistake in the metrics description.
1 parent 6ea5f14 commit 2d759f7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

beacon_node/beacon_chain/src/metrics.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ pub static UNAGGREGATED_ATTESTATION_GOSSIP_VERIFICATION_TIMES: LazyLock<Result<H
260260
LazyLock::new(|| {
261261
try_create_histogram(
262262
"beacon_unaggregated_attestation_gossip_verification_seconds",
263-
"Full runtime of aggregated attestation gossip verification",
263+
"Full runtime of unaggregated attestation gossip verification",
264264
)
265265
});
266266

@@ -370,7 +370,7 @@ pub static ATTESTATION_PROCESSING_STATE_SKIP_TIMES: LazyLock<Result<Histogram>>
370370
LazyLock::new(|| {
371371
try_create_histogram(
372372
"beacon_attestation_processing_state_skip_seconds",
373-
"Time spent on reading the state during attestation processing",
373+
"Time spent on skipping the state during attestation processing",
374374
)
375375
});
376376
pub static ATTESTATION_PROCESSING_SIGNATURE_SETUP_TIMES: LazyLock<Result<Histogram>> =
@@ -1334,13 +1334,14 @@ pub static BEACON_BLOCK_DELAY_OBSERVED_SLOT_START: LazyLock<Result<IntGauge>> =
13341334
)
13351335
});
13361336

1337-
pub static BEACON_BLOB_DELAY_ALL_OBSERVED_SLOT_START: LazyLock<Result<IntGauge>> =
1338-
LazyLock::new(|| {
1337+
pub static BEACON_BLOB_DELAY_ALL_OBSERVED_SLOT_START: LazyLock<Result<IntGauge>> = LazyLock::new(
1338+
|| {
13391339
try_create_int_gauge(
13401340
"beacon_blob_delay_all_observed_slot_start",
1341-
"Duration between the start of the block's slot and the time the block was observed.",
1341+
"Duration between the start of the block's slot and the time when all blobs have been observed.",
13421342
)
1343-
});
1343+
},
1344+
);
13441345

13451346
pub static BEACON_BLOCK_DELAY_CONSENSUS_VERIFICATION_TIME: LazyLock<Result<IntGauge>> =
13461347
LazyLock::new(|| {

0 commit comments

Comments
 (0)