-
Notifications
You must be signed in to change notification settings - Fork 1.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 query parameters in prometheus scaler #4957
Add query parameters in prometheus scaler #4957
Conversation
Thank you for your contribution! 🙏 We will review your PR as soon as possible. While you are waiting, make sure to:
Learn more about: |
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
1f01fd0
to
f01bec3
Compare
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
d278d79
to
08ac6f4
Compare
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
What would you like to achieve adding extra info to the query string? |
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.
Could you please add issue that explains the reason for this feature?
Here's the issue #4962 |
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.
Can't this be done just with the custom headers? I mean, isn't them enough for setting the tenant and those stuff?
Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
Yes, we are aware of the custom headers and we use them to specify wich tenant keda just must reach. But, just to give you some context, we are using thanos as our long term storage tsdb with a setup of hundreds of tenants, and within that, there are different versions of this solution, so it is there that query parameters are necessary, they are used to specify the version of our solution that we want to query. |
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.
@HenriquePiccolo any update on this please? We are going to cut the release tomorrow.
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br>
I updated the scaler test to validate prometheusQuery. |
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
106a903
to
398d13d
Compare
dd9bb63
to
c253cdf
Compare
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Hey @JorTurFer @zroubalik we've attended your sugestions and implemented the required tests and modifications, could you verify, please? |
5d56c79
to
2fba509
Compare
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com>
/run-e2e prometheus |
Signed-off-by: Henrique Piccolo <henriquepiccolo@hotmail.com.br> Signed-off-by: Axel Paschoa <apaschoabarres@gmail.com> Co-authored-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es> Co-authored-by: Axel Paschoa <apaschoabarres@gmail.com> Signed-off-by: anton.lysina <alysina@gmail.com>
Signed-off-by: Henrique Piccolo henriquepiccolo@hotmail.com.br
Add query parameters in prometheus scaler
Checklist
Relates to #1218
Fixes #4962