A monitoring tool based on Grafana + Prometheus for Near Protocol Node
cp .env.example .env
- GRAFANA_ADMIN_USER - Grafana admin user name
- GRAFANA_ADMIN_PASSWORD - Grafana admin password name
- Fill
{YourPoolId}
, examplebob.factory.shardnet.near
export POOL_ID={YourPoolId} && sed -i "s/klesh.factory.shardnet.near/$POOL_ID/g" ./grafana/dashboards/*.json
./start.sh
./stop.sh
- Grafana will be available on
http://{Host.IP}:19000
- Got to Alerting > Notification channels > Add channel > Add desired channel (Check
Default
in Notification settings)
- You can get extra metrics such as Seat Price, Current Stake and more by using near-prometheus-exporter.
- https://github.com/masknetgoal634/near-prometheus-exporter
https://github.com/near/stakewars-iii/blob/main/challenges/004.md