Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/INFURA/devp2p-network
Tools for analyzing the DevP2P network
https://github.com/INFURA/devp2p-network
Last synced: 27 days ago
JSON representation
Tools for analyzing the DevP2P network
- Host: GitHub
- URL: https://github.com/INFURA/devp2p-network
- Owner: INFURA
- License: apache-2.0
- Archived: true
- Created: 2018-09-08T19:00:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-25T22:09:49.000Z (over 1 year ago)
- Last Synced: 2024-04-17T12:44:13.753Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 913 KB
- Stars: 31
- Watchers: 38
- Forks: 18
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# 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.
##### Prerequisites:
- Docker & Docker Compose
- [OS X](https://docs.docker.com/docker-for-mac/install/#install-and-run-docker-for-mac)
- [Ubuntu](https://docs.docker.com/install/linux/docker-ce/ubuntu)
- [Windows](https://docs.docker.com/docker-for-windows/install)
- [NodeJS](https://nodejs.org/en/download)##### 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
```