Skip to main content
Validators expose metrics on the port number specified by the argument . Port is the default, though any valid port can be chosen. We recommend using Prometheus to scrape these metrics and Grafana to visualize them, using this dashboard JSON template, as seen below. The benefit of this dashboard is that it displays multiple validators at the same time. The screenshot shows metrics grouped by chain or by kubernetes pod. Validator Grafana Dashboard Template
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 dashboard template includes the following metrics.

Charts

The dashboard template includes the following charts.

Alerts

All the metrics above can be combined to create alerts that minimize false positives. Some example critical alerts:
  • the hyperlane_latest_checkpoint stopped increasing, but the hyperlane_block_height is still increasing, and error and warn log counts have also been increasing, over the last 6 hours
  • hyperlane_block_height has not increased in the last 30 minutes
If you get alerted, always check the logs for what the problem could be.