diff --git a/assets/loki/alerts.yaml b/assets/loki/alerts.yaml index 4c2ee00..b1e979e 100644 --- a/assets/loki/alerts.yaml +++ b/assets/loki/alerts.yaml @@ -26,7 +26,7 @@ groups: message: | {{ $labels.job }} {{ $labels.route }} is experiencing {{ printf "%.2f" $value }}s 99th percentile latency. expr: | - namespace_job_route:loki_request_duration_seconds:99quantile{route!~"(?i).*tail.*"} > 1 + namespace_job_route:loki_request_duration_seconds:99quantile{route!~"(?i).*tail.*|/schedulerpb.SchedulerForQuerier/QuerierLoop"} > 1 for: 15m labels: severity: critical diff --git a/site/content/loki/_index.md b/site/content/loki/_index.md index 8108822..03d4b10 100644 --- a/site/content/loki/_index.md +++ b/site/content/loki/_index.md @@ -56,7 +56,7 @@ annotations: message: | {{ $labels.job }} {{ $labels.route }} is experiencing {{ printf "%.2f" $value }}s 99th percentile latency. expr: | - namespace_job_route:loki_request_duration_seconds:99quantile{route!~"(?i).*tail.*"} > 1 + namespace_job_route:loki_request_duration_seconds:99quantile{route!~"(?i).*tail.*|/schedulerpb.SchedulerForQuerier/QuerierLoop"} > 1 for: 15m labels: severity: critical