Verified Commit 2267a8f5 authored by anarcat's avatar anarcat
Browse files

only alert donate in prod (tpo/web/donate-neo#75)

Previously, alerts were firing *only in staging* for exceptions, and
for all namespaces for latency.
parent 447dfeb1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ groups:
    expr: |
      sum(
        increase(
          django_http_exceptions_total_by_type_total{namespace!="prod",type!="Ratelimited"}[5m]
          django_http_exceptions_total_by_type_total{namespace="prod",type!="Ratelimited"}[5m]
        )
      ) by (type, app, namespace, team) > 0
    for: 5m
@@ -26,7 +26,7 @@ groups:
          0.99,
          sum(
            rate(
              django_http_requests_latency_seconds_by_view_method_bucket[5m]
              django_http_requests_latency_seconds_by_view_method_bucket{namespace="prod"}[5m]
            )
          )
          without (view, method)