(linux-arm64)UOS安装开源Prometheus-2.30.0—普罗米修斯

2021-10-13 10:15:39 浏览数 (1)

【摘要】 (linux-arm64)UOS安装开源Prometheus-2.30.0—普罗米修斯

代码语言:javascript复制
#prometheus官网
https://prometheus.io/download/
#通过wget下载prometheus
wget https://github.com/prometheus/prometheus/releases/download/v2.16.0/prometheus-2.30.0.linux-arm64.tar.gz
代码语言:javascript复制
#解压至/usr/local/
tar -zxvf prometheus-2.30.0.linux-arm64.tar.gz -C /usr/local/
#将prometheus-2.30.0.linux-arm64改名为prometheus
mv /usr/local/prometheus-2.30.0.linux-arm64/  /usr/local/prometheus
cd /usr/local/prometheus
ls
#启动Prometheus—使用默认配置文件启动
/usr/local/prometheus/prometheus --config.file="/usr/local/prometheus/prometheus.yml" &
代码语言:javascript复制
#查看9090端口是否开启
ss -anlt | grep 9090
代码语言:javascript复制
#通过浏览器进入页面
IP:9090
#数据展示
IP:9090/metrics

0 人点赞