Downloading Prometheus

Let's download Prometheus to our Linux machine.

NOTE: If you don't have a Linux machine, you can also run these steps in a cloud-based environment for free using Gitpod, by opening an empty starter workspace:

Open in Gitpod

Create a directory for the workshop files:

mkdir $HOME/workshop

Change to it:

cd $HOME/workshop

Download Prometheus 2.53.0 for Linux (see the download page for other versions):

wget https://github.com/prometheus/prometheus/releases/download/v2.53.0/prometheus-2.53.0.linux-amd64.tar.gz

Extract the tarball:

tar xvfz prometheus-2.53.0.linux-amd64.tar.gz

Change into the extracted directory:

cd prometheus-2.53.0.linux-amd64