22 stable releases

new 1.18.17 Jun 17, 2024
1.18.16 Jun 7, 2024
1.18.15 May 31, 2024
1.18.12 Apr 26, 2024
0.1.0 Jan 30, 2024

#485 in Magic Beans

Download history 2/week @ 2024-02-25 471/week @ 2024-03-10 445/week @ 2024-03-17 197/week @ 2024-03-24 50/week @ 2024-03-31 275/week @ 2024-04-07 17/week @ 2024-04-14 149/week @ 2024-04-21 53/week @ 2024-04-28 81/week @ 2024-05-05 296/week @ 2024-05-12 93/week @ 2024-05-19 114/week @ 2024-05-26 153/week @ 2024-06-02 32/week @ 2024-06-09

551 downloads per month

Apache-2.0

1.5MB
27K 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

~41–61MB
~1M SLoC