-
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
rule: add --query.http-method #3378
Conversation
c630fc6
to
666f0eb
Compare
Add a new parameter which let's you specify what kind of HTTP method to use when sending queries. Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
666f0eb
to
fc8829c
Compare
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.
Amazing 🤗
Once suggestion and LGTM! 👍
CHANGELOG.md
Outdated
@@ -20,6 +20,7 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re | |||
- [#3346](https://github.com/thanos-io/thanos/pull/3346) Ruler UI: Fix a bug preventing the /rules endpoint from loading. | |||
- [#3115](https://github.com/thanos-io/thanos/pull/3115) compact: now deletes partially uploaded and blocks with deletion marks concurrently. It does that at the beginning and then every `--compact.cleanup-interval` time period. By default it is 5 minutes. | |||
- [#3312](https://github.com/thanos-io/thanos/pull/3312) s3: add list_objects_version config option for compatibility. | |||
- [#3378](https://github.com/thanos-io/thanos/pull/3378) Ruler: learned to send queries via POST. Helps when alerting/recording rules are extra long. It now uses POST unless `--query.http-method` is `GET`. |
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.
learned? ;p Can we use more technical language?
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.
😄 reworked this line to make it more technical and even cleaner. Let me know if that works :P
Make it more technical :-P Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Thanks! |
* rule: add --query.http-method Add a new parameter which let's you specify what kind of HTTP method to use when sending queries. Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com> * CHANGELOG: rework the line Make it more technical :-P Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com> Signed-off-by: Oghenebrume50 <raphlbrume@gmail.com>
Add a new parameter which lets you specify what kind of HTTP method to
use when sending queries.
Switch to using POST by default to avoid possible problems and because it
has been around for quite a while by now.
Signed-off-by: Giedrius Statkevičius giedriuswork@gmail.com
Verification
Tests still pass.
Closes #2577.
Closes #3233.