3.02 Install Prometheus - MartinWong06/grafana GitHub Wiki
Apt update repo
sudo apt update -y Install prometheus package
sudo apt install prometheus -y Check the prometheus status
sudo service prometheus statusEnabled prometheus to ensure it will running when server running
sudo systemctl enable prometheusPrometheus install node exporter for monitor it's metrics
sudo service prometheus-node-exporter statusCheck on Prometheus status
curl http://localhost:9090Check on the node exporter status
curl http://localhost:9100/metrics