问题:
目前我搭了一个监控是promethus 根据网上提供的文档,目前监控了nginx 不知道如何进行告警,以及告警规则文件是如何写的
prometheus nginx告警规则如何编写
有没有相关的案例
prometheus nginx告警规则如何编写
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
流比 2022-12-25 15:32关注ALERT NginxHighConnections IF nginx_http_connections > 1000 FOR 5m LABELS { severity = "warning" } ANNOTATIONS { summary = "Nginx has high connections", description = "Nginx has more than 1000 connections" }解决 无用评论 打赏 举报