352 stable releases

1.18.26 Oct 12, 2024
1.18.23 Aug 31, 2024
1.18.20 Jul 25, 2024
1.18.9 Mar 29, 2024
0.22.1 Dec 25, 2019

#88 in #scale

Download history 8/week @ 2024-07-14 133/week @ 2024-07-21 355/week @ 2024-07-28 127/week @ 2024-08-04 13/week @ 2024-08-11 1/week @ 2024-08-18 179/week @ 2024-08-25 24/week @ 2024-09-01 1/week @ 2024-09-08 41/week @ 2024-09-15 2/week @ 2024-09-22 192/week @ 2024-09-29 112/week @ 2024-10-06 65/week @ 2024-10-13 9/week @ 2024-10-20 1/week @ 2024-10-27

211 downloads per month

Apache-2.0

32KB
398 lines

The solana-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–60MB
~1M SLoC