mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-02 16:21:42 +00:00
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.
This commit is contained in:
@@ -1673,7 +1673,9 @@ pub static BLOBS_FROM_EL_EXPECTED: LazyLock<Result<Histogram>> = LazyLock::new(|
|
||||
try_create_histogram_with_buckets(
|
||||
"beacon_blobs_from_el_expected",
|
||||
"Number of blobs expected from the execution layer",
|
||||
Ok(vec![0.0, 3.0, 6.0, 9.0, 12.0, 18.0, 24.0, 30.0]),
|
||||
Ok(vec![
|
||||
0.0, 3.0, 6.0, 9.0, 12.0, 18.0, 24.0, 30.0, 36.0, 42.0, 48.0,
|
||||
]),
|
||||
)
|
||||
});
|
||||
|
||||
@@ -1681,7 +1683,9 @@ pub static BLOBS_FROM_EL_RECEIVED: LazyLock<Result<Histogram>> = LazyLock::new(|
|
||||
try_create_histogram_with_buckets(
|
||||
"beacon_blobs_from_el_received_total",
|
||||
"Number of blobs fetched from the execution layer",
|
||||
linear_buckets(0.0, 4.0, 20),
|
||||
Ok(vec![
|
||||
0.0, 3.0, 6.0, 9.0, 12.0, 18.0, 24.0, 30.0, 36.0, 42.0, 48.0,
|
||||
]),
|
||||
)
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user