手动安装prometheus
prometheus是通过go语言编写的,采用静态编译,安装起来非常方便,只需要下载对应品台的二进制文件直接安装即可。
下载地址为 https://prometheus.io/download/
docker方式运行
xx
通过kubernetes 运行prometheus
xx
安装prometheus Operator
在prometheus Operator中添加自定义的监控项
在prometheus Operator中添加自定义告警
配置PrometheusRule
配置告警
prometheus Operator高级配置
自动发现配置
数据持久化配置