1、安装prometheus
wget https://github.com/prometheus/prometheus/releases/download/v2.12.0/prometheus-2.12.0.linux-amd64.tar.gz tar xf prometheus-2.12.0.linux-amd64.tar.gz mv prometheus-2.12.0.linux-amd64/ prometheus/