lighthouse/common
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
..
account_utils Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
clap_utils fix default network handling (#2029) 2020-12-08 05:41:10 +00:00
compare_fields Check for unused deps in CI (#1262) 2020-06-14 10:59:50 +10:00
compare_fields_derive Update external deps (#1711) 2020-10-05 08:22:19 +00:00
deposit_contract Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
directory fix default network handling (#2029) 2020-12-08 05:41:10 +00:00
eth2 Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
eth2_config Represent slots in secs instead of millisecs (#2163) 2021-01-19 09:39:51 +00:00
eth2_interop_keypairs Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
eth2_network_config replace tempdir by tempfile (#2143) 2021-01-06 06:36:11 +00:00
eth2_wallet_manager Use OS file locks in validator client (#1958) 2020-11-26 11:25:46 +00:00
fallback Fallback nodes for eth1 access (#1918) 2020-11-27 08:37:44 +00:00
hashset_delay update dependencies (#2032) 2020-12-07 08:20:33 +00:00
lighthouse_metrics Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
lighthouse_version Version v1.0.6 (#2126) 2020-12-28 23:38:02 +00:00
lockfile replace tempdir by tempfile (#2143) 2021-01-06 06:36:11 +00:00
logging Update external deps (#1711) 2020-10-05 08:22:19 +00:00
lru_cache Keep track of failed head chains and prevent re-lookups (#1534) 2020-08-18 03:54:09 +00:00
remote_signer_consumer Update dependencies (#2084) 2020-12-14 02:28:19 +00:00
rest_types update dependencies (#2032) 2020-12-07 08:20:33 +00:00
slot_clock Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
task_executor Upgrade to tokio 0.3 (#1839) 2020-11-28 05:30:57 +00:00
test_random_derive Update external deps (#1711) 2020-10-05 08:22:19 +00:00
validator_dir Fix new clippy lints (#2036) 2020-12-03 01:10:26 +00:00
warp_utils Server sent events (#1920) 2020-12-04 00:18:58 +00:00
README.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00

eth2

Common crates containing eth2-specific logic.