Use More Granular Metrics for P2P Blocks By Range Latency Histogram (#11085)

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Raul Jordan 2022-07-22 18:08:21 +00:00 committed by GitHub
parent 7978a0269b
commit 63a8690140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ var (
prometheus.HistogramOpts{ prometheus.HistogramOpts{
Name: "rpc_blocks_by_range_response_latency_milliseconds", Name: "rpc_blocks_by_range_response_latency_milliseconds",
Help: "Captures total time to respond to rpc blocks by range requests in a milliseconds distribution", Help: "Captures total time to respond to rpc blocks by range requests in a milliseconds distribution",
Buckets: []float64{250, 500, 1000, 1500, 2000, 3000, 4000, 10000}, Buckets: []float64{5, 10, 50, 100, 150, 250, 500, 1000, 2000},
}, },
) )
arrivalBlockPropagationHistogram = promauto.NewHistogram( arrivalBlockPropagationHistogram = promauto.NewHistogram(