Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 8d1ecc7

Browse files
authored
Ignore long-running requests on query-scheduler when checking for high latency. (#242)
1 parent 3c66e7d commit 8d1ecc7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Cortex / Queries: added bucket index load operations and latency (available only when bucket index is enabled)
88
- Alerts: added "CortexBucketIndexNotUpdated" (bucket index only) and "CortexTenantHasPartialBlocks"
99
* [BUGFIX] Honor configured `per_instance_label` in all panels. #239
10+
* [BUGFIX] `CortexRequestLatency` alert now ignores long-running requests on query-scheduler. #242
1011

1112
## 1.6.0 / 2021-01-05
1213

cortex-mixin/alerts/alerts.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
{
4040
alert: 'CortexRequestLatency',
4141
expr: |||
42-
cluster_namespace_job_route:cortex_request_duration_seconds:99quantile{route!~"metrics|/frontend.Frontend/Process|ready"}
42+
cluster_namespace_job_route:cortex_request_duration_seconds:99quantile{route!~"metrics|/frontend.Frontend/Process|ready|/schedulerpb.SchedulerForFrontend/FrontendLoop|/schedulerpb.SchedulerForQuerier/QuerierLoop"}
4343
>
4444
%(cortex_p99_latency_threshold_seconds)s
4545
||| % $._config,

0 commit comments

Comments
 (0)