A Grafana dashboard compatible with all the cosmos-sdk and tendermint based blockchains.
We assume that you already have Grafana and Prometheus installed.
sed -i 's/prometheus = false/prometheus = true/g' <YOUR-NODE-HOMEDIR>/config/config.toml
After restarting your node, you should be able to access the tendermint metrics(default port is 26660): http://localhost:26660
Append a job
under the scrape_configs
of your prometheus.yml
- job_name: irishub
static_configs:
- targets: ['<Validator-IP>:26660']
labels:
instance: validator
- targets: ['<Sentry-0-IP>:26660']
labels:
instance: sentry-0
- targets: ['<Sentry-1-IP>:26660']
labels:
instance: sentry-1
Reload prometheus config
curl -X POST http://<PROMETHEUS-IP>:9090/-/reload
Copy and paste the Grafana Dashboard ID 11036
OR content of cosmos-dashboard.json, click on Load
to complete importing.