Story Dashboard

Grafana Dashboard for Story node (Odyssey) monitoring

Grafana Dashboard by shachopra

Setting Up Grafana Dashboard for Node Monitoring

1. Install docker

2. Install Grafana

  • Create Docker Compose Configuration for Grafana: docker-compose-grafana.yml

cd $HOME
mkdir docker
mkdir docker/grafana

cd $HOME/docker/grafana
nano docker-compose-grafana.yml
services:
  grafana:
    image: grafana/grafana
    container_name: grafana
    restart: unless-stopped
    ports:
     - '3000:3000'
    volumes:
      - grafana-storage:/var/lib/grafana
volumes:
  grafana-storage: {}
  • This Docker Compose setup deploys Grafana in a Docker container

  • Access Grafana by navigating to http://your-ip:3000

3. Install Prometheus

  • Create Docker Compose Configuration for Prometheus: docker-compose-prometheus.yml

  • Create Prometheus Configuration File: prometheus.yml

  • This Docker Compose setup deploys Prometheus in a Docker container

  • If prometheus is successfully setup, then you can access http://your-ip:909

4. Configure story config.toml & modify Geth Service file

5. Install Node Exporter

  • Download Node Exporter

  • Move the Node Exporter Binary

  • Create a Node Exporter User

  • Configure the Service

  • Start the service

6. Configuring and Using Grafana

Configure Grafana through its web interface (http://your-ip:3000) to connect to your data sources & create dashboards.

  • Go to http://your-ip:3000 and click on data sources in Connections menu.

  • Choose Prometheus as data source type

  • Add Prometheus server URL: http://your-ip:9092

  • Then click Save & test.

  • Then go to Dashboards & click on new dashboard.

  • Then click on Import dashboard.

  • Upload dashboard JSON file: Reference JSON file

Last updated