-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 Alert ThanosQueryOverload to Mixin #5439
Conversation
c2a3171
to
748d572
Compare
748d572
to
cf9baa3
Compare
Having this on a dashboard would also be great 👍 |
Good idea, I'm going to add a "Thanos Query Concurrent Capacity" dashboard with formula |
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.
Thanks!
Head branch was pushed to by a user without write access
8b12068
to
8abb224
Compare
A PR is created to add the dashboard showing available capacity to serve concurrent queries. |
Hey @raptorsun, can you have a look at failed checks so that we can proceed with merging your contribution, please? 🙏 |
8abb224
to
686c1db
Compare
This seems to be breaking some tests and I don't understand why. 🤔 Does someone have ideas? cc @bwplotka, @kakkoyun, @fpetkovski |
686c1db
to
26f68d5
Compare
Signed-off-by: Haoyu Sun <[email protected]>
26f68d5
to
b285221
Compare
The broken test has been fixed, just need to add a stub rule in the testing code. |
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.
LGTM
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.
LGTM. Thanks!
Changes
This PR adds an alert ThanosQueryOverload to the mixins.
This alert warns the user when Thanos' query API is saturated by concurrent queries so that the user can take measurements before functionalities relying on Thanos stops working.
Verification