diff options
author | 2024-04-24 19:42:17 +0200 | |
---|---|---|
committer | 2024-04-24 19:48:47 +0200 | |
commit | 93fd83c2d2d7eede8f57b2155f07d8bdcf0a0aac (patch) | |
tree | 18a44b43a962c091758221e1df092dee3eea7d86 /kubernetes/namespaces | |
parent | Add bellas user (diff) |
Exclude home and tag views from latency alerts
These are known issues and we probably won't do anything about them, so
stop alerting us about it.
Diffstat (limited to 'kubernetes/namespaces')
-rw-r--r-- | kubernetes/namespaces/monitoring/alerts/alerts.d/django.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/namespaces/monitoring/alerts/alerts.d/django.yaml b/kubernetes/namespaces/monitoring/alerts/alerts.d/django.yaml index 3197bf7..ec35dda 100644 --- a/kubernetes/namespaces/monitoring/alerts/alerts.d/django.yaml +++ b/kubernetes/namespaces/monitoring/alerts/alerts.d/django.yaml @@ -11,7 +11,7 @@ groups: description: "Django is experiencing 5xx errors on {{ $labels.namespace }}/{{ $labels.job }}" - alert: DjangoLatencyElevated - expr: histogram_quantile(0.95, rate(django_http_requests_latency_seconds_by_view_method_bucket{view!="api:github-artifacts"}[5m])) > 1.0 + expr: histogram_quantile(0.95, rate(django_http_requests_latency_seconds_by_view_method_bucket{view!="api:github-artifacts", view!="home:home", view!="content:tag"}[5m])) > 1.0 for: 3m labels: severity: warning @@ -20,7 +20,7 @@ groups: description: "Django route {{ $labels.method }} {{ $labels.view }} has raised latency" - alert: DjangoLatencyHigh - expr: histogram_quantile(0.95, rate(django_http_requests_latency_seconds_by_view_method_bucket{view!="api:github-artifacts"}[5m])) > 10.0 + expr: histogram_quantile(0.95, rate(django_http_requests_latency_seconds_by_view_method_bucket{view!="api:github-artifacts", view!="home:home", view!="content:tag"}[5m])) > 10.0 for: 3m labels: severity: page |