-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update Mimir / Reads and Remote Ruler Reads dashboard with query scheduler metrics #10290
update Mimir / Reads and Remote Ruler Reads dashboard with query scheduler metrics #10290
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs look great, thank you for updating! Let me know if you'd like me to review any specific tooltip text.
$.queryPanel( | ||
[ | ||
'sum by(query_component) (cortex_query_scheduler_querier_inflight_requests{quantile="0.99", %s})' % [$.jobMatcher(querySchedulerJobName)], | ||
'cortex_query_scheduler_connected_querier_clients', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there's a typo here:
cortex_query_scheduler_connected_querier_clients
needs a label selector (ie. via thejobMatcher
)- we should probably aggregate it with sum to compare it with p99's metrics
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great catch, fixed!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it feels like this belongs better in the "queries" dashboard; otherwise, the change looks good
cd09db9
to
6dd7d24
Compare
What this PR does
Introduces a dashboard panel row showing the
cortex_query_scheduler_querier_inflight_requests
by query component against the totalcortex_query_scheduler_connected_querier_clients
metric.The
cortex_query_scheduler_querier_inflight_requests
is a Summary metric designed to capture the peak utilization of the query-scheduler <-> querier connections with inflight query processing in order to help identify saturation of the ingesters or store-gateways. The summary metric's lower percentiles are not particularly useful.It also updates some of the tooltip descriptions about the query scheduler rows to be more accurate to the new design.
Which issue(s) this PR fixes or relates to
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.about-versioning.md
updated with experimental features.