Prometheus and Grafana monitoring (optional)
Steps for getting Prometheus and Grafana running
Step 1: Download latest Prometheus release
Latest Prometheus release can be found here, or you can download it (latest version at the time or writing this guide) from terminal using
This will create prometheus-2.27.1.linux-amd64
folder containing Prometheus binary
Step 2: Write a configuration file for monitoring Orakuru node
Create a prometheus.yml
somewhere on your server and add following content:
This configuration file will tell Prometheus to collect data from your Orakuru node every 5 seconds. You can modify this configuration to suit your needs.
Step 3: Starting Prometheus
You can start Prometheus using
Make sure to replace prometheus.yml
with path to your configuration file, if they are not in the same directory.
As with Binance Smart Chain node, running Prometheus this way will stop it when you end your session. In order to prevent this from happening you should use tmux
, screen
, or your initialization system of choice (systemd
, openrc
, etc.)
Step 4: Installing Grafana
In order to keep this guide short, check out official Grafana installation guide for your OS and platform of choice:
For Debian or Ubuntu follow Install on Debian or Ubuntu
For RPM-based Linux distributions follow Install on RPM-based Linux (CentOS, Fedora, OpenSuse, RedHat)
For macOS follow Install on macOS
For Windows follow Install on Windows
For Docker follow Run Docker image
Step 5: Add Prometheus data source to Grafana
Open Grafana in your browser (http://your-server-ip:3000
), log in with default credentials (admin
and admin
), change your password to a more secure one, afterwards go to Configuration (gear icon), then Data Sources, and add Prometheus data source. Set URL to your Prometheus server URL.
Last updated