阿里云日志服务Nginx监控耗时预警配置

5分钟时间窗口,上游服务response time大于1秒的数量

1
*| SELECT time_series(__time__, '5m', '%Y-%m-%d %H:%i:%s' ,'0') as Time, count(1) as T where upstream_response_time > 1 group by Time order by Time

预警配置,阀值设置为10

分享到