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

Conversation

@pstibrany
Copy link
Contributor

@pstibrany pstibrany commented Jan 6, 2021

What this PR does: This PR updates CortexRequestLatency to ignore long-running requests on query-scheduler.

Checklist

  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pstibrany pstibrany requested a review from a team as a code owner January 6, 2021 10:50
alert: 'CortexRequestLatency',
expr: |||
cluster_namespace_job_route:cortex_request_duration_seconds:99quantile{route!~"metrics|/frontend.Frontend/Process|ready"}
cluster_namespace_job_route:cortex_request_duration_seconds:99quantile{route!~"metrics|/frontend.Frontend/Process|ready|/schedulerpb.SchedulerForFrontend/FrontendLoop|/schedulerpb.SchedulerForFrontend/FrontendLoop"}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is it repeated twice?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two different paths on query-scheduler (one for frontend and one for querier), but I included same route twice, instead of two routes. It's fixed now.

Copy link
Contributor

@gouthamve gouthamve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the repetition is fixed

@pstibrany pstibrany merged commit 8d1ecc7 into master Jan 6, 2021
@pstibrany pstibrany deleted the latency-ignore-scheduler-routes branch January 6, 2021 11:17
simonswine pushed a commit to grafana/mimir that referenced this pull request Oct 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants