beefy: Increment metric and add extra log details (#5075)
This PR increments the beefy metric wrt no peers to query justification
from.
The metric is incremented when we submit a request to a known peer,
however that peer failed to provide a valid response, and there are no
further peers to query.
While at it, add a few extra details to identify the number of active
peers and cached peers, together with the request error
Part of:
- https://github.com/paritytech/polkadot-sdk/issues/4985
- https://github.com/paritytech/polkadot-sdk/issues/4925
---------
Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io>
parent
ae688a97
Showing
- substrate/client/consensus/beefy/src/communication/peers.rs 5 additions, 0 deletionssubstrate/client/consensus/beefy/src/communication/peers.rs
- substrate/client/consensus/beefy/src/communication/request_response/outgoing_requests_engine.rs 9 additions, 2 deletions...ommunication/request_response/outgoing_requests_engine.rs
Please register or sign in to comment