A simple supervisor to monitor node SLA
The supervisor current supports the following features:
- Check evm and cosmos node( sync check , 50% integrity check), update the performance, calculate the SLA in performance.json,the log will be saved in nodemonitor.log
- The integrity check is configured in integrity.toml. You can disable some check or change the default address.
- The granularity of the checks is configurable in config.toml. The supervisor will do an availability check at least once in the configured interval.
- The schedule of the checks is randomised.
-
fill the config.toml like the example
-
fill the integritycheck.toml like the example
-
go build main.go
-
./main
cd src/check
go test