Trying out Prometheus, an open-source monitoring solution; and Grafana, an open-source metrics visualization tool.
What this demo will do (in a Vagrant VM):
- Run an instance of Prometheus (exposed on port 9090)
- Run a push gateway for Prometheus so that it can accept metrics from ephemeral jobs
- Run a Node.js fake backup script that will publish metrics to the push gateway every 5 seconds
- Run a Grafana instance (exposed on port 3000) and configure it to display the metrics from Prometheus
- Vagrant 1.9+
- A Vagrant-supported virtual machine provider like VirtualBox or VMWare
- Ports 3000 and 9090 must be free to run the Vagrant VM
vagrant up
Grab a coffee... this will take a while.
- Visit http://localhost:3000 to see Grafana (log in with username
admin
and passwordadmin
) - Visit http://localhost:9090 to see the Prometheus backend