最近用了prometheus 2.0 版本,感觉改变还是有点大,现将改变相关记录如下:
1、prometheus.yml文件配置修改后,要想重新加载,必须在启动的时候添加参数:
--web.enable-lifecycle
比如:nohup ./prometheus --web.enable-lifecycle --config.file=prometheus.yml &
2、报警规则和记录数据规则已经不在是 rules 文件格式,完全改成了yml格式
prometheus 提供了命令工具将原来的文件直接转换为新的格式:
[root@localhost prometheus-2.0.0.linux-amd64]# ./promtool update rules rules/alert.rules
具体参考官方文档
https://prometheus.io/docs/prometheus/latest/migration/
相关推荐
Prometheus 2.36.2 / 2022-06-20发布最新版,国内下载
prometheus,windows,prometheus-2.33.5.windows-arm64,prometheus-2.33.5.windows-arm64,prometheus-2.33.5.windows-arm64,prometheus-2.33.5.windows-arm64,prometheus-2.33.5.windows-arm64,prometheus-2.33.5....
prometheus-2.27.1.linux-amd64.tar.gz安装包
prometheus-2.29.1.linux-amd64.tar.gz 国外资源下载太慢,免费分享给大家
prometheus-2.43.0.tar.gz
prometheus-2.32.0.linux-amd64.tar.gz
最新版linux prometheus-2.29.2.linux-arm64.tar.gz最新版linux prometheus-2.29.2.linux-arm64.tar.gz
prometheus 2.10版本,请放心下载
最新版windows prometheus-2.29.2.windows-amd64.zip最新版windows prometheus-2.29.2.windows-amd64.zip
2022年6月7日从官网下载的最新版本 linux版本:prometheus-2.36.0.linux-amd64.tar.gz windows版本:prometheus-2.36.0.windows-amd64.zip
系统监控
prometheus-2.31.1.linux-amd64.tar
prometheus 相关资料
国外下载prometheus-2.18.1.linux-amd64.tar.gz,速度太慢,经常会断。提供国内prometheus免费开源下载通道,加速。
prometheus
prometheus的源码文件
最新版linux prometheus-2.23.0.linux-amd64.tar.gz最新版linux prometheus-2.23.0.linux-amd64.tar.gz
Prometheus-2.33.4 Linux二进制安装包全家桶
GitHub下载太慢,故放到csdn上。 GitHub下载地址:https://github.com/prometheus/prometheus/releases/download/v2.28.1/prometheus-2.28.1.linux-amd64.tar.gz