-
Notifications
You must be signed in to change notification settings - Fork 2.2k
ruler: Add flag to configure the queue for pending Alertmanager notif… #8234
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
base: main
Are you sure you want to change the base?
ruler: Add flag to configure the queue for pending Alertmanager notif… #8234
Conversation
8666ef4
to
e64d2eb
Compare
Failing test seems unrelated to my changes and might be flacky. |
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.
How would the user or anyone know what should be a "good" value? Could we provide some guidance in the README?
Unfortunately, I don't know what a “good” value is or should be. Both the implementation in Thanos and the implementation in Prometheus don't mention anything about this. That's why I would just leave the default and make it configurable as needed. We can also set the flag to hidden if you prefer. |
I think let's then make it hidden 👍 |
4f63513
to
ff39a64
Compare
I have made the flag hidden 😄 |
ff39a64
to
b78b796
Compare
Failing test seems again unrelated to my changes and might be flacky. |
@GiedriusS can this get merged? |
b78b796
to
fc532f8
Compare
…ications In the [prometheus package](https://github.com/prometheus/prometheus/blob/7789ef 27c838a567edd65b5fb767d4a35cab91ac/cmd/prometheus/main.go#L532) we are already a ble to configure the capacity size. The fixed value could lead to issues sending alerts when evaluating a huge amount of alerts in one ruler instance. Signed-off-by: roth-wine <[email protected]>
fc532f8
to
f99767d
Compare
@GiedriusS i have rebased the branch to get this thing merged. |
Changes
Add flag to configure the queue for pending Alertmanager notifications
In the prometheus package we are already able to configure the capacity size. The fixed value could lead to issues sending alerts when evaluating a huge amount of alerts in one ruler instance.