1、安装prometheus(监控系统和时间序列数据库)
下载地址:https://prometheus.io/download/
选取对应版本:
上传到服务器并解压
tar -zxvf prometheus-2.28.1.linux-amd64.tar.gz
运行prometheus
cd prometheus-2.28.1.linux-amd64
./prometheus --config.file=prometheus.yml
访问prometheus
浏览器输入http://ip:9090