摘要:
rule监控规则配置 语法检查规则 promtool check rules /path/to/example.rules.yml nodes.rules: groups: - name: nodes.rules rules: - alert: NodeFilesystemUsage expr: 1 阅读全文
摘要:
Prometheus配置,对接k8s,自动发现集群资源, prometheus.yml 配置文件如下: 自己调整下标签匹配就行了,已在生产跑起来,没问题 global: scrape_interval: 15s # Set the scrape interval to every 15 second 阅读全文
摘要:
启动并配置 AlertManager cat alertmanager_run.s docker rm -f alertmanager docker run --name=alertmanager -d \ --restart=always \ -p 9093:9093 \ -v /data/al 阅读全文
摘要:
参考 https://blog.csdn.net/yanggd1987/article/details/108807171 https://help.aliyun.com/document_detail/123394.html https://blog.csdn.net/baidu_36943075 阅读全文