Monitoring & Alerting
Validators expose metrics on the port number specified by the argument --metrics
. Port 9090
is the default, though any valid port can be chosen.
info
If running as a Docker image, make sure to port-forward the metrics endpoint port. For, instance, to forward port 9090 on the local port 80, add the following flag to your docker run
command: -p 9090:80
Metrics
- the
hyperlane_latest_checkpoint
is the most critical metric in both thephase="validator_observed"
andphase="validator_processed"
dimension. It should gradually increase and the two should never really be out of sync. - another useful metric is
hyperlane_block_height
which indicates the blockheight of the rpc node the validator is connected to