Lighthouse provides an extensive suite of metrics and monitoring in the Prometheus export format via a HTTP server built into Lighthouse.
These metrics are generally consumed by a Prometheus server and displayed via a Grafana dashboard. These components are available in a docker-compose format at sigp/lighthouse-metrics.
By default, these metrics are disabled but can be enabled with the
flag. Use the
--metrics-allow-origin flags to customize the metrics server.
Start a beacon node with the metrics server enabled:
lighthouse bn --metrics
Check to ensure that the metrics are available on the default port:
The validator client does not yet expose metrics, however this functionality is expected to be implemented in late-September 2020.