mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 00:42:42 +00:00
Get blobs v2 metrics (#8641)
N/A Add standardized metrics for getBlobsV2 from https://github.com/ethereum/beacon-metrics/pull/14. Co-Authored-By: Pawan Dhananjay <pawandhananjay@gmail.com>
This commit is contained in:
@@ -1689,6 +1689,33 @@ pub static BLOBS_FROM_EL_RECEIVED: LazyLock<Result<Histogram>> = LazyLock::new(|
|
||||
)
|
||||
});
|
||||
|
||||
/*
|
||||
* Standardized getBlobs metrics across clients from https://github.com/ethereum/beacon-metrics
|
||||
*/
|
||||
pub static BEACON_ENGINE_GET_BLOBS_V2_REQUESTS_TOTAL: LazyLock<Result<IntCounter>> =
|
||||
LazyLock::new(|| {
|
||||
try_create_int_counter(
|
||||
"beacon_engine_getBlobsV2_requests_total",
|
||||
"Total number of engine_getBlobsV2 requests made to the execution layer",
|
||||
)
|
||||
});
|
||||
|
||||
pub static BEACON_ENGINE_GET_BLOBS_V2_RESPONSES_TOTAL: LazyLock<Result<IntCounter>> =
|
||||
LazyLock::new(|| {
|
||||
try_create_int_counter(
|
||||
"beacon_engine_getBlobsV2_responses_total",
|
||||
"Total number of successful engine_getBlobsV2 responses from the execution layer",
|
||||
)
|
||||
});
|
||||
|
||||
pub static BEACON_ENGINE_GET_BLOBS_V2_REQUEST_DURATION_SECONDS: LazyLock<Result<Histogram>> =
|
||||
LazyLock::new(|| {
|
||||
try_create_histogram(
|
||||
"beacon_engine_getBlobsV2_request_duration_seconds",
|
||||
"Duration of engine_getBlobsV2 requests to the execution layer in seconds",
|
||||
)
|
||||
});
|
||||
|
||||
/*
|
||||
* Light server message verification
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user