45 stable releases

2.1.0 Oct 29, 2024
2.0.14 Oct 24, 2024
2.0.3 Jul 20, 2024
1.18.26 Oct 11, 2024
0.1.0 Jan 30, 2024

#997 in Magic Beans

Download history 162/week @ 2024-07-15 146/week @ 2024-07-22 327/week @ 2024-07-29 212/week @ 2024-08-05 57/week @ 2024-08-12 240/week @ 2024-08-19 251/week @ 2024-08-26 140/week @ 2024-09-02 10/week @ 2024-09-09 162/week @ 2024-09-16 181/week @ 2024-09-23 264/week @ 2024-09-30 102/week @ 2024-10-07 57/week @ 2024-10-14 114/week @ 2024-10-21 149/week @ 2024-10-28

437 downloads per month

Apache-2.0

1MB
22K SLoC

The agave-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

~39–55MB
~1M SLoC