Install Grafana

Install Grafana to serve dashboards

Grafana

Grafana provides all dashboard functionality. Dashboards are displayed using Grafana's user interface, and query for data from Prometheus.

Install Supporting Software

Install the supporting software we may need.

sudo apt-get update
sudo apt-get install apt-transport-https
sudo apt-get install software-properties-common wget

Install Grafana

Install the key for authenticating Grafana packages.

wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -

This command may generate a warning about apt-key being deprecated. That is not a problem.

Results of wget | apt-key command

Add the Grafana repository to the list of external repositories and update the package list.

sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"

The add-apt-repository command may also generate a warning about apt-key being deprecated.

Results of add-apt-repository command

Update the package list and install Grafana.

sudo apt-get update
sudo apt-get install grafana
Results of sudo apt-get install grafana command

Notes

Grafana will listen on port 3000. This is the port for the Grafana user interface.

Last updated