lighthouse/book/src
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
..
css Make API friendly to block explorers (#702) 2019-12-19 11:45:28 +11:00
js Add support for multiple testnet flags (#1396) 2020-07-29 06:39:29 +00:00
advanced_database.md Document the freezer DB space-time trade-off (#808) 2020-01-20 10:01:58 +11:00
advanced_metrics.md Add metrics to VC (#1954) 2020-11-26 01:10:51 +00:00
advanced_networking.md Document need for port 9000 to be open (fix #730) (#731) 2020-10-05 17:34:24 +11:00
advanced-datadir.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
advanced.md Document the freezer DB space-time trade-off (#808) 2020-01-20 10:01:58 +11:00
api-bn.md Fix epoch, slot, and effective balance quoting (#1756) 2020-10-11 23:58:12 +00:00
api-lighthouse.md Expand eth1 block cache, add more logs (#1938) 2020-11-21 00:26:15 +00:00
api-vc-auth-header.md Change --testnet flag to --network (#1751) 2020-11-23 23:54:03 +00:00
api-vc-endpoints.md Add docs for /lighthouse/validators/keystore api (#2071) 2020-12-21 07:43:04 +00:00
api-vc-sig-header.md Implement VC API (#1657) 2020-10-02 09:42:19 +00:00
api-vc.md Implement VC API (#1657) 2020-10-02 09:42:19 +00:00
api.md Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
cli.md Minor useability updates (#1005) 2020-04-15 17:46:03 +10:00
contributing.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
cross-compiling.md Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
docker.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
faq.md Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
http.md Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
installation-binaries.md FAQ/Doc updates (#1966) 2020-11-25 05:51:10 +00:00
installation-source.md Fix possible typo in build from source instructions (#1990) 2020-11-28 06:41:34 +00:00
installation.md Document system requirements (#1934) 2020-11-19 21:23:56 +00:00
intro.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
key-management.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
key-recovery.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
local-testnets.md Update local testnet scripts, fix eth1 sim (#1184) 2020-05-26 18:30:44 +10:00
mainnet-validator.md Fix broken custom data directories link (#2000) 2020-12-01 00:04:44 +00:00
pi.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
redundancy.md Add docs about redundancy (#2142) 2021-01-12 00:26:22 +00:00
setup.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00
slasher.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
slashing-protection.md Refine and test slashing protection semantics (#1885) 2020-11-24 07:21:14 +00:00
SUMMARY.md Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
system-requirements.md Document system requirements (#1934) 2020-11-19 21:23:56 +00:00
testnet-validator.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
validator-create.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
validator-import-launchpad.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00
validator-inclusion.md Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
validator-management.md Change --testnet flag to --network (#1751) 2020-11-23 23:54:03 +00:00
validator-monitoring.md Detailed validator monitoring (#2151) 2021-01-20 19:19:38 +00:00
voluntary-exit.md Update docs: Change --beacon-node to --beacon-nodes (#2145) 2021-01-19 03:50:08 +00:00
wallet-create.md Update validator guide for mainnet (#1951) 2020-11-24 04:42:17 +00:00