For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pharos Node Monitoring

We recommend deploying Prometheus, Pushgateway, and Grafana to monitor Pharos Node metrics.

Deploy Prometheus and pushgateway

If you have already deployed a Prometheus monitoring and alerting system, you can skip this step:

  1. Create the Prometheus namespace:

kubectl create namespace prometheus
  1. Add the prometheus-community chart repository:

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
  1. Deploy Prometheus:

helm upgrade -i prometheus prometheus-community/prometheus \
--namespace prometheus \
--set alertmanager.persistence.storageClass="gp2" \
--set server.persistentVolume.storageClass="gp2"
  1. Verify that all pods in the prometheus namespace are in the READY state:

kubectl get pods -n prometheus
  1. Get the Pushgateway Service IP/Domain:

kubectl -n prometheus-agent-namespace get svc

You should see the prometheus-pushgateway Service. Save the IP address of the Pushgateway Service.

Modify the metrics push configuration file

For detailed instructions on configuring the metrics push in your pharos.conf, see Node Monitoring Setup.

Last updated

Was this helpful?