Prometheus and Grafana monitoring (optional)
Steps for getting Prometheus and Grafana running
Step 1: Download latest Prometheus release
$ wget https://github.com/prometheus/prometheus/releases/download/v2.27.1/prometheus-2.27.1.linux-amd64.tar.gz
$ tar xvfz prometheus-2.27.1.linux-amd64.tar.gzStep 2: Write a configuration file for monitoring Orakuru node
global:
scrape_interval: 15s # How often to request metrics
external_labels:
monitor: 'orakuru-monitor'
scrape_configs:
- job_name: 'orakuru'
# Default interval can be overriden here
scrape_interval: 5s
static_configs:
# This will tell prometheus to collect data from Orakuru node
# If your Orakuru node instance will be running on a separate server, make sure to change the address here
- targets: ['localhost:9000']Step 3: Starting Prometheus
Step 4: Installing Grafana
Step 5: Add Prometheus data source to Grafana
Last updated
Was this helpful?