Add node authority status metric (#4699)
* Check authority status on active leaves update Signed-off-by:Andrei Sandu <andrei-mihail@parity.io> * cargo changes Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Add metric for authority status Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Revert "Fix tests" This reverts commit 5bd56bb367ec0b01ecca04498b3974ab67bf3189. * Revert "cargo changes" This reverts commit ffea18fe3ca12b27e6471ad9f44592799ec90956. * Revert "Check authority status on active leaves update" This reverts commit 55a30ac81bf32a72e0b79ca2e7bb612344a5c43d. * Test fixups Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * update Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * undo damage Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * dont update status on runtime errors Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Fix tests Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * fix inconsistency Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Review feedback Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * Dont derive primitive Default Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * add dummy_session_info helper Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * unset parachain validator status if no longer authority Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * update Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> * damn Signed-off-by:
Andrei Sandu <andrei-mihail@parity.io> *
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io>
Showing
- polkadot/node/network/gossip-support/src/lib.rs 64 additions, 2 deletionspolkadot/node/network/gossip-support/src/lib.rs
- polkadot/node/network/gossip-support/src/metrics.rs 90 additions, 0 deletionspolkadot/node/network/gossip-support/src/metrics.rs
- polkadot/node/network/gossip-support/src/tests.rs 41 additions, 1 deletionpolkadot/node/network/gossip-support/src/tests.rs
- polkadot/node/service/src/overseer.rs 1 addition, 0 deletionspolkadot/node/service/src/overseer.rs
Please register or sign in to comment