Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Latest commit

 

History

History
48 lines (35 loc) · 1.45 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.45 KB

ARCHIVED

Repo has many dependency based security vulnerabilities in current state. Use at own risk.

devp2p-network

Monitor and record metrics from the DevP2P network in PostgresDB and visualize the data using the Metabase analytics tool.

devp2p-network-screencap

Prerequisites:
Install the node dependencies

npm install

Instantiate the database and dashboard backend services

docker-compose up --detach

Run the DevP2P monitor

npm start

It will take a minute for the client to connect to DevP2P peers. Once it connects to the first peer it will save the node's info to MongoDB and you should be able to see data in your dashboard.

Browse the dashboard data via Metabase

http://localhost:3000

You will need to configure Metabase by creating a user account and adding the Postgres connection info
First Name: [anything]
Last Name: [anything]
Email: [anything]
...
Database Info:
Hostname: pg
Port: 5432
Username: pguser
Password: 3th3r3um
Database Name: devp2p