π Story Grafana Dashboard
Last updated
Last updated
Server monitoring with Node Exporter, Prometheus, and Grafana provides detailed insights into the real-time performance and health of your server and nodes. By collecting metrics such as CPU usage, memory consumption, disk space, and network traffic, it helps identify and resolve issues promptly, such as SSD shortages or abnormal CPU usage that might indicate node inactivity.
With a Grafana dashboard, you can also visualize network-specific metrics. This includes monitoring block heights, peer counts, validator status, transaction rates, and network performance, ensuring comprehensive monitoring for both server and blockchain node performance in a unified interface.
Node Exporter: This is a program for collecting system metrics from servers. It provides the ability to get detailed information about system resources such as CPU, memory, disk space usage, and more. Node Exporter makes this data available for monitoring through other systems such as Prometheus.
Prometheus: This is a metrics monitoring and collection system. It uses an HTTP-based data collection model to collect metrics from a variety of sources, including Node Exporter. Prometheus allows you to collect, visualize, and analyze this data.
Grafana: This is a tool for data visualization and creating dashboards for monitoring. It integrates with monitoring systems such as Prometheus and allows you to create convenient and informative graphs, tables, and dashboards for analyzing metrics.
RAM - 2 GB
SSD - At least 20GB free
Download and install Node Exporter:
Create a systemd service:
Start and enable the service
Install Prometheus
Create a systemd service:
Start and enable the service
Enable Prometheus in config.toml
and look at the prometheus port of your node
prometheus.yml
fileSet the value of your IP Server
and PORT
Generate the configuration file content
Restart prometheus
Install Grafana
Go to the dashboard in the web browser
Your initial login details:
Login: admin
Password: admin
After that you will be asked to change the password, so come up with a more reliable one.
Add Data Source Prometheus
Click to "Add data source"
Choose Prometheus
Import dashboard
Copy the contents of the dashboard here -https://github.com/UnityNodes/scripts/blob/main/story-grafana-dashoboard.sh
and paste here and then click Load
If you have done everything correctly, then your dashboard will be successfully displayed and you will see all the metrics