-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add an
mr_receive_batch_latency_seconds
metric (#2417)
The metric tracks the latency of the `Receiver::recv()` call that `MessageRoutingImpl` makes to obtain the next batch from Consensus. On a subnet with a block rate of 2.5 blocks/s whose DSM does zero work and finishes immediately, we should consistently observe values around 400ms. If OTOH the DSM is backlogged and always takes more than 400ms to run, then the observed values should be consistently around zero (because the DSM would be consistently behind Consensus).
- Loading branch information
1 parent
7927c34
commit 4991a57
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters