reduce p99 quantile aggregation duration

This commit is contained in:
Samuel Berthe 2021-01-05 12:30:32 +01:00
parent 5d7d99a658
commit 209fdf86e8
No known key found for this signature in database
GPG key ID: 64863511FFBD0E3C

View file

@ -1042,7 +1042,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[30m])) by (host, node)) > 3'
query: 'histogram_quantile(0.99, sum(rate(nginx_http_request_duration_seconds_bucket[2m])) by (host, node)) > 3'
severity: warning
for: 2m