Solana validators monitoring
Solana validators performance monitoring like skip rate and downtime
Installation
$ yarn install
Run via docker-compose
- Use
.env.example
file content to create your own.env
file - Build app image via
docker-compose build app
- Create
.volumes
directory fromdocker
directory:
cp -r docker .volumes
chown -R 70:70 .volumes/pgdata
chown -R 65534:65534 .volumes/prometheus
chown -R 65534:65534 .volumes/alertmanager
chown -R 472:472 .volumes/grafana
- Run
docker-compose up -d
- Open Grafana UI at
http://localhost:8082/
(login:admin
, password:MYPASSWORT
) and wait first app cycle execution for display data
Run via node
- Run
yarn install
- Run DB
docker-compose up -d db
- Tweak
.env
file from.env.example
- Run
npm run build
- Run
npm run start:debug
Test
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
License
API Template is MIT licensed.
Release flow
To create new release:
- Merge all changes to the
master
branch - Navigate to Repo => Actions
- Run action "Prepare release" action against
master
branch - When action execution is finished, navigate to Repo => Pull requests
- Find pull request named "chore(release): X.X.X" review and merge it with "Rebase and merge" (or "Squash and merge")
- After merge release action will be triggered automatically
- Navigate to Repo => Actions and see last actions logs for further details