mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 19:32:55 +00:00
Improve logging and metrics for block publication (#5699)
* Improve logging and metrics for block publication * Add better buckets * Bump SQL connection timeout for tests.
This commit is contained in:
@@ -31,7 +31,13 @@ lazy_static::lazy_static! {
|
||||
);
|
||||
pub static ref HTTP_API_BLOCK_BROADCAST_DELAY_TIMES: Result<HistogramVec> = try_create_histogram_vec(
|
||||
"http_api_block_broadcast_delay_times",
|
||||
"Time between start of the slot and when the block was broadcast",
|
||||
"Time between start of the slot and when the block completed broadcast and processing",
|
||||
&["provenance"]
|
||||
);
|
||||
pub static ref HTTP_API_BLOCK_GOSSIP_TIMES: Result<HistogramVec> = try_create_histogram_vec_with_buckets(
|
||||
"http_api_block_gossip_times",
|
||||
"Time between receiving the block on HTTP and publishing it on gossip",
|
||||
decimal_buckets(-2, 2),
|
||||
&["provenance"]
|
||||
);
|
||||
pub static ref HTTP_API_BLOCK_PUBLISHED_LATE_TOTAL: Result<IntCounter> = try_create_int_counter(
|
||||
|
||||
Reference in New Issue
Block a user