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:
Create the Prometheus namespace:
kubectl create namespace prometheusAdd the
prometheus-communitychart repository:
helm repo add prometheus-community https://prometheus-community.github.io/helm-chartsDeploy Prometheus:
helm upgrade -i prometheus prometheus-community/prometheus \
--namespace prometheus \
--set alertmanager.persistence.storageClass="gp2" \
--set server.persistentVolume.storageClass="gp2"Verify that all pods in the prometheus namespace are in the
READYstate:
kubectl get pods -n prometheusGet the Pushgateway Service IP/Domain:
kubectl -n prometheus-agent-namespace get svcYou 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?
