Initial documentation for validator metrics

This commit is contained in:
Michael Vines
2019-06-13 11:48:35 -07:00
parent 1cd8c1865e
commit fa8394f526
2 changed files with 21 additions and 1 deletions

View File

@@ -199,3 +199,20 @@ $ solana-keygen pubkey ~/.local/share/solana/install/active_release/config-local
$ solana-keygen pubkey ./config-local/validator-vote-keypair.json
```
#### Validator Metrics
Metrics are available for local monitoring of your validator.
Docker must be installed and the current user added to the docker group. Then
download `solana-metrics.tar.bz2` from the Github Release and run
```bash
$ tar jxf solana-metrics.tar.bz2
$ cd solana-metrics/
$ ./start.sh
```
A local InfluxDB and Grafana instance is now running on your machine. Define
`SOLANA_METRICS_CONFIG` in your environment as described at the end of the
`start.sh` output and restart your validator.
Metrics should now be streaming and visible from your local Grafana dashboard.