Zebra/zebra-network/src/peer_set
teor 1835ec2c8d
Add diagnostics for peer set hangs (#3203)
* Use a named CancelHeartbeatTask unit struct for the channel type

* Prefer cancel handles in selects, if both are ready

* Fix message metrics to just show the command name

* Add metrics for internal requests and responses

* Add internal requests and responses to the messages dashboard

* Add a canceled metric, and peer addresses to request and response metrics

* Add a canceled messages graph

* Add connection state metrics for currently open connections

* Fix the connection state graph with new metrics

* Always send an error before dropping pending responses

* Move error detail logging into `fail_with`

* Delete an unused timer future

* Make error strings in metrics less verbose

* Downgrade some error logs to info

* Remove a redundant expect

* Avoid unnecessary allocations for connection state metrics

* Fix missed updates to mempool and block gossip metrics
2021-12-14 21:11:03 +00:00
..
candidate_set Add `zebra_test::init_async` helper function (#3169) 2021-12-09 00:18:17 +00:00
initialize Disconnect from outdated peers on network upgrade (#3108) 2021-12-09 02:54:29 +00:00
set Add diagnostics for peer set hangs (#3203) 2021-12-14 21:11:03 +00:00
candidate_set.rs Security: When there are no new peers, stop crawler using CPU and writing logs (#3177) 2021-12-10 00:19:52 +00:00
initialize.rs Stop ignoring panics in inbound handshakes (#3192) 2021-12-10 18:32:42 +00:00
inventory_registry.rs Update to Tokio 1.13.0 (#2994) 2021-11-02 18:46:57 +00:00
limit.rs Security: When there are no new peers, stop crawler using CPU and writing logs (#3177) 2021-12-10 00:19:52 +00:00
set.rs Describe `PeerSet`s behavior at a network upgrade (#3181) 2021-12-13 11:17:20 +01:00
unready_service.rs Fix typos (#3055) 2021-11-12 19:30:22 +00:00