← All guides
Prometheus
Open-source metrics collection and alerting engine — the standard data source behind most self-hosted Grafana dashboards.
This guide is synthesized from Prometheus's own official documentation, linked above — always cross-check exact package/version names there before running these commands on a production server, since distro and project versions move over time.
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.