Skip to content

block42-blockchain-company/fantom-node-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fantom Node Monitor

This setup lets you monitor your Fantom node. Key elements are the Grafana dashboard for visualization and Prometheus as data base. Prometheus provides interfaces for database agents, of which the following are integrated.

  • node_exporter: Provides general machine information about memory, cpu, file system etc
  • lachesis_exporter : Uses the Lachesis API to provide Fantom specific metrics. It is currently under development.

By spinning up the Fantom node monitor, all configurations and dashboards are created and all exporters are started.

Getting started

Build

Start the docker build:

python3 main.py build

This will build a docker image from the Dockerfile.

Setup

Start the monitor with the following command:

python3 main.py setup

This will spinn up a single docker container (using fantom-node-monitor image) including all necessary services and programs.

First Steps

Access your machine on port 3000. The first time you access the dashboard you will need to enter the default credentials and set a new password. The default credentials are:

Username: admin
Password: admin

Once you're logged in, you should see Fantom Node Overview in Dashboards. Please allow some time for the first metrics to be displayed.

Tear Down

Note: Be aware that the following will also remove all data collected! Stop the containers and remove all artifcats (including persistent volumes) with:

python3 main.py teardown

About

Grafana dashboard showing fantom node metrics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •