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

Add a user label to the query_frontend_queue_length metric #2939

Merged

Conversation

slim-bean
Copy link
Contributor

@slim-bean slim-bean commented Jul 27, 2020

What this PR does:

To better track issues around queries being queued or backed up in the query frontend this PR adds a user label to the cortex_query_frontend_queue_length gauge. This can be helpful in understanding if queues backing up are systemic or limited to a single user, as well as understanding if a particular user is regularly backing up a queue.

Checklist

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

Signed-off-by: Edward Welch [email protected]

slim-bean and others added 2 commits July 27, 2020 17:09
Signed-off-by: Edward Welch <[email protected]>
Copy link
Contributor

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

I pushed a fix (hope you don't mind). LGTM!

Copy link
Contributor

@pstibrany pstibrany left a comment

Choose a reason for hiding this comment

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

👍 Thanks!

@pracucci pracucci merged commit cf8003d into cortexproject:master Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants