Grafana is a Open Source Dashboarding service that allows you to monitor, analyze and graph metrics from datasources such as prometheus, influxdb, elasticsearch, aws cloudwatch, and many more.
Not only is grafana amazing, its super pretty!
Example of how a dashboard might look like:
What are we doing today
I will be demonstrating how to install grafana on debian, if you have another operating system, head over to grafana documentation for other supported operating systems.
Get the gpg key:
Import the public keys:
Add the latest stable packages to your repository:
Install a pre-requirement package:
Update the repository index and install grafana:
Once grafana is installed, start the service:
Then enable the service on boot:
If you want to control the service via systemd:
1 2 3
Optional: Nginx Reverse Proxy
If you want to front your grafana instance with a nginx reverse proxy:
1 2 3 4 5 6 7 8 9 10 11 12 13
Then restart nginx:
If you are accessing grafana directly, access grafana on
http://your-grafana-ip:3000/ and your username is
admin and password
Have a look at this screencast where the guys from grafana show you how to build dashboards:
Also have a look at their public repository of dashboards
For more tutorials on prometheus and metrics have a look at #prometheus