lighthouse/beacon_node
Paul Hauner 2b2a358522 Detailed validator monitoring (#2151)
## Issue Addressed

- Resolves #2064

## Proposed Changes

Adds a `ValidatorMonitor` struct which provides additional logging and Grafana metrics for specific validators.

Use `lighthouse bn --validator-monitor` to automatically enable monitoring for any validator that hits the [subnet subscription](https://ethereum.github.io/eth2.0-APIs/#/Validator/prepareBeaconCommitteeSubnet) HTTP API endpoint.

Also, use `lighthouse bn --validator-monitor-pubkeys` to supply a list of validators which will always be monitored.

See the new docs included in this PR for more info.

## TODO

- [x] Track validator balance, `slashed` status, etc.
- [x] ~~Register slashings in current epoch, not offense epoch~~
- [ ] Publish Grafana dashboard, update TODO link in docs
- [x] ~~#2130 is merged into this branch, resolve that~~
2021-01-20 19:19:38 +00:00
..
beacon_chain Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
client Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
eth1 Represent slots in secs instead of millisecs (#2163) 2021-01-19 09:39:51 +00:00
eth2_libp2p Fix bug from #2163 (#2165) 2021-01-20 10:28:12 +00:00
genesis Improve compile time (#1989) 2020-12-09 01:34:58 +00:00
http_api Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
http_metrics update dependencies (#2032) 2020-12-07 08:20:33 +00:00
network Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
operation_pool Update pool/attestations and committees endpoints (#1899) 2020-11-18 23:31:39 +00:00
src Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
store Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
tests Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
timer Represent slots in secs instead of millisecs (#2163) 2021-01-19 09:39:51 +00:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml Version v1.0.6 (#2126) 2020-12-28 23:38:02 +00:00