#individual #validation #sovereign #blockchain #cluster #horizon #monitor

app miraland-watchtower

Blockchain for sovereign individuals living in Mirascape Horizon

14 releases (stable)

new 1.19.2 Nov 8, 2024
1.19.1 Nov 6, 2024
1.18.3 Feb 29, 2024
1.18.2 Dec 14, 2023
1.14.17-rc5 May 13, 2023

#45 in Magic Beans

Download history 50/week @ 2024-07-26 6/week @ 2024-08-02 6/week @ 2024-09-20 2/week @ 2024-09-27 261/week @ 2024-11-01

261 downloads per month

Apache-2.0

1.5MB
27K SLoC

The miraland-watchtower program is used to monitor the health of a cluster. It periodically polls the cluster over an RPC API to confirm that the transaction count is advancing, new blockhashes are available, and no validators are delinquent. Results are reported as InfluxDB metrics, with an optional push notification on sanity failure.

If you only care about the health of one specific validator, the --validator-identity command-line argument can be used to restrict failure notifications to issues only affecting that validator.

If you do not want duplicate notifications, for example if you have elected to receive notifications by SMS the --no-duplicate-notifications command-line argument will suppress identical failure notifications.

Metrics

watchtower-sanity

On every iteration this data point will be emitted indicating the overall result using a boolean ok field.

watchtower-sanity-failure

On failure this data point contains details about the specific test that failed via the following fields:

  • test: name of the sanity test that failed
  • err: exact sanity failure message

Dependencies

~43–59MB
~1M SLoC