← Tutte le guide
Prometheus
Open-source metrics collection and alerting engine — the standard data source behind most self-hosted Grafana dashboards.
Questa guida è redatta a partire dalla documentazione ufficiale di Prometheus, linkata sopra — verifica sempre lì i nomi esatti di pacchetti/versioni prima di eseguire questi comandi su un server di produzione, poiché le versioni della distribuzione e del progetto cambiano nel tempo.
1Download the latest release
Check the official downloads page for the current version number and correct architecture before running this.
2Extract and run
tar xvfz prometheus-*.tar.gzcd prometheus-*/./prometheus --config.file=prometheus.ymlFor a permanent setup, run this as a systemd service rather than in a foreground terminal — the official docs' "Running as a service" section covers the unit file.
3Open the UI
http://your-server-ip:9090 — this is also the endpoint Grafana points at as a data source.