Skip to content

Commit adf6ad7

Browse files
authored
Update fetch blobs metrics buckets (#7823)
While looking at metrics I noticed that `beacon_blobs_from_el_expected` and `beacon_blobs_from_el_received_total` have different buckets, this PR adds more buckets to both (to prepare for Fusaka) and make them both consistent.
1 parent 2f59d52 commit adf6ad7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

beacon_node/beacon_chain/src/metrics.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,15 +1673,19 @@ pub static BLOBS_FROM_EL_EXPECTED: LazyLock<Result<Histogram>> = LazyLock::new(|
16731673
try_create_histogram_with_buckets(
16741674
"beacon_blobs_from_el_expected",
16751675
"Number of blobs expected from the execution layer",
1676-
Ok(vec![0.0, 3.0, 6.0, 9.0, 12.0, 18.0, 24.0, 30.0]),
1676+
Ok(vec![
1677+
0.0, 3.0, 6.0, 9.0, 12.0, 18.0, 24.0, 30.0, 36.0, 42.0, 48.0,
1678+
]),
16771679
)
16781680
});
16791681

16801682
pub static BLOBS_FROM_EL_RECEIVED: LazyLock<Result<Histogram>> = LazyLock::new(|| {
16811683
try_create_histogram_with_buckets(
16821684
"beacon_blobs_from_el_received_total",
16831685
"Number of blobs fetched from the execution layer",
1684-
linear_buckets(0.0, 4.0, 20),
1686+
Ok(vec![
1687+
0.0, 3.0, 6.0, 9.0, 12.0, 18.0, 24.0, 30.0, 36.0, 42.0, 48.0,
1688+
]),
16851689
)
16861690
});
16871691

0 commit comments

Comments
 (0)