Skip to content
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

new Mimir / Reads dashboard panel for scheduler queue duration, breakout by additional queue dimensions #7059

Conversation

francoposa
Copy link
Member

@francoposa francoposa commented Jan 5, 2024

Have not figured out how to show the actual panel in the dashboards, because the metamonitoring helm chart seems to have the scrape interval too wide to graph with [$__rate_interval], but if I open the panel in explore and hardcode the rate interval to to [10m] it looks like:

Screenshot from 2024-01-05 13-36-40

What this PR does

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

@@ -1002,6 +1002,42 @@ local utils = import 'mixin-utils/utils.libsonnet';
{ yaxes: $.yaxes('percentunit') }
),

latencyPanelLabelBreakout(metricName, selector, labels=[], labelReplaceArgSets=[{}], multiplier='1e3')::
Copy link
Member Author

Choose a reason for hiding this comment

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

This is just a version of the latencyPanel in the upstream grafana.libsonnet. - Will try to upstream it if we like it here

@francoposa francoposa marked this pull request as ready for review January 5, 2024 21:38
@francoposa francoposa requested a review from a team as a code owner January 5, 2024 21:38
@francoposa francoposa changed the title new breakout panel for scheduler queue duration, breakout by additional queue dimensions new Mimir / Reads dashboard panel for scheduler queue duration, breakout by additional queue dimensions Jan 5, 2024
@dimitarvdimitrov
Copy link
Contributor

In the interest of having fewer rows have you considered removing the text panel with the description? We can have the help text The query scheduler is an optional ... "No data." in the descriptions of the panels in the row
Screenshot 2024-01-08 at 11 43 17
nstead.

…panel to panel description; better jsonnet usage
@francoposa
Copy link
Member Author

I like that - took your advice, looks like so:
Screenshot from 2024-01-08 10-47-04

Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

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

LGTM

I just realized the "Remote ruler reads" dashboard also contains a row for the scheduler dimensions. Do you want to make the change there too?
Screenshot 2024-01-08 at 20 23 11

@francoposa
Copy link
Member Author

yep, will do

@francoposa francoposa merged commit 6cc4f5e into main Jan 8, 2024
30 checks passed
@francoposa francoposa deleted the francoposa/mimir-reads-dashboard-query-scheduler-queue-duration-breakout branch January 8, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants