Skip to content

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

Notifications You must be signed in to change notification settings

encipher88/near-protocol-node-monitoring

 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%