fix(nginx): fix nginx query for histogram_percentile (#351)

This commit is contained in:
Paul-Élie Testud 2023-04-28 16:06:12 +02:00 committed by GitHub
parent 7a874b7205
commit c36014f03e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1371,7 +1371,7 @@ groups:
for: 1m
- name: Nginx latency high
description: Nginx p99 latency is higher than 3 seconds
query: 'histogram_quantile(0.99, sum(rate(nginx_http_request_duration_seconds_bucket[2m])) by (host, node)) > 3'
query: 'histogram_quantile(0.99, sum(rate(nginx_http_request_duration_seconds_bucket[2m])) by (host, node, le)) > 3'
severity: warning
for: 2m