-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat: adds optional list of non retryable http statuscodes to http output plugin #10186
feat: adds optional list of non retryable http statuscodes to http output plugin #10186
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.
Very nice solution @nvinzens! There are some comments for not changing existing tests and to add a log message that metrics are dropped.
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.
Looks good to me. Thanks for this nice feature @nvinzens! Can you please resolve the merge conflict?
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.
Looks good to me. Thanks for your effort @nvinzens!
@nvinzens Can you rebase on master and fix the couple conflicts? Then I'm happy to +1 this. |
…requests should not be retried
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
0e1c7b9
to
512b2d1
Compare
@powersj done |
Since this is a feature it would have to be merged before tomorrow or else we have to wait until mid March, is that correct? |
Right now when we do a new minor release we cut two release candidates as well. When we cut the first one is when we grab all the new features from master. Additional RCs and the final release only include bug fixes. Unfortunately, that means this would not make it for v1.21.0. That said, we are looking at a new release model to avoid waiting 3 months for a new feature to make it into a release. TBD on when we start the new process, but I do want to put an end to this waiting. |
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.
Still looks good to me.
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.
1 small change we caught in pairs, but then we can merge.
Thanks so much for the pull request! |
📦 Looks like new artifacts were built from this PR. Expand this list to get them here ! 🐯Artifact URLs |
Sorry, looks like something went wrong on the rebase. Now it complains about the CLA 🤨 |
!signed-cla |
Thanks so much for the pull request! |
@nvinzens can you please sign the Contibutor License Agreement (CLA) to get this PR merged? If you have done so, please add a comment here with the content
|
I'm not quite sure what happened here, I have signed the CLA and all previous checks were successful. Do I have to sign it again? |
!signed-cla |
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 for seeing this through!
Thanks @nvinzens for this contribution! Much appreciated! |
Issue that describes the need for the change: #9365
Fixed by adding an optionally configurable list of statuscodes (<100 or >300) upon which HTTP requests should not be retried. In the case of thanos the fix would be to configure
non_retryable_statuscodes = [409]
.