Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.32 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.32 KB

near-protocol-node-monitoring

A monitoring tool based on Grafana + Prometheus for Near Protocol Node

Grafana dasboard

Setup

Follow this guides to install docker engine and docker compose:

Copy .env.example to .env

cp .env.example .env

Fill script parameters in .env file

  • GRAFANA_ADMIN_USER - Grafana admin user name
  • GRAFANA_ADMIN_PASSWORD - Grafana admin password name

Setup your pool_id

  • Fill {YourPoolId}, example bob.factory.shardnet.near
export POOL_ID={YourPoolId} && sed -i "s/klesh.factory.shardnet.near/$POOL_ID/g" ./grafana/dashboards/*.json

Start

./start.sh

Stop

./stop.sh

Open Grafana

  • Grafana will be available on http://{Host.IP}:19000

Setup alerts channel

  • Got to Alerting > Notification channels > Add channel > Add desired channel (Check Default in Notification settings)

Extra metrics data

Stake Wars: Episode III. Challenge 004

https://github.com/near/stakewars-iii/blob/main/challenges/004.md