Skip to content

Commit a02d510

Browse files
Rename getBlobsV2 runtime metric (#7220)
1 parent 4918a51 commit a02d510

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

beacon_chain/gossip_processing/eth2_processor.nim

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,17 @@ declareHistogram data_column_sidecar_delay,
102102

103103
declareHistogram beacon_data_column_sidecar_computation_seconds,
104104
"Time taken to compute data column sidecar, including cells and inclusion proof",
105-
buckets = [0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 2.5, 5.0, 7.5, 10.0, Inf]
105+
buckets = [0.005, 0.01, 0.025, 0.05, 0.075, 0.1, 0.25, 0.5, 0.75, 1.0, 2.5, 5.0, Inf]
106106

107107
declareCounter beacon_engine_getBlobsV2_requests_total,
108108
"Total number of engine_getBlobsV2 requests sent"
109109

110110
declareCounter beacon_engine_getBlobsV2_responses_total,
111111
"Total number of engine_getBlobsV2 successful responses received"
112112

113-
declareHistogram beacon_engine_getBlobsV2_runtime_seconds,
114-
"Full runtime of engine_getBlobsV2 requests",
115-
buckets = [0.001, 0.005, 0.01, 0.025, 0.05, 0.75, 0.1, 0.5, 1, 1.5, 2, 5, 10]
113+
declareHistogram beacon_engine_getBlobsV2_request_duration_seconds,
114+
"Duration of engine_getBlobsV2 requests",
115+
buckets = [0.01, 0.05, 0.1, 0.5, 1, 2.5, 5, 10]
116116

117117
type
118118
DoppelgangerProtection = object
@@ -383,7 +383,7 @@ proc validateDataColumnSidecarFromEL*(
383383
await elManager.sendGetBlobsV2(forkyBlck)
384384
getBlobsV2_end_time = Moment.now()
385385
getBlobsV2_dur = getBlobsV2_end_time - start_time
386-
beacon_engine_getBlobsV2_runtime_seconds.observe(getBlobsV2_dur.toFloatSeconds())
386+
beacon_engine_getBlobsV2_request_duration_seconds.observe(getBlobsV2_dur.toFloatSeconds())
387387
if blobsFromElOpt.isSome():
388388
let blobsEl = blobsFromElOpt.get()
389389
beacon_engine_getBlobsV2_responses_total.inc()

0 commit comments

Comments
 (0)