Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up[PromQL] Percentile parsing #4543
Comments
aurrelhebert
referenced this issue
Aug 27, 2018
Closed
fix(Parser): Add error at parsing when quantile value isn't valid #4544
This comment has been minimized.
This comment has been minimized.
|
May I ask why this makes a difference to you? Changing this would be a breaking change, as it is the documented behaviour of our quantile functions. |
This comment has been minimized.
This comment has been minimized.
|
We are working on PromQL proxies and validate the query with the parser first. We didn't expect this to be a valid request. |
This comment has been minimized.
This comment has been minimized.
|
This is valid, though not particularly sane, PromQL. |
simonpasquier
added
kind/enhancement
component/promql
labels
Sep 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
aurrelhebert commentedAug 27, 2018
Proposal
Use case. Why is this important?
When add an incorrect parameter for quantile function, a result is loaded
Nice to have' is not a good use case :)
You can test it with: "percentile(2.0, metric...)
Bug Report
What did you do?
Just execute command below on Prometheus
What did you expect to see?
An error message
What did you see instead? Under which circumstances?
A result (+inf)
Environment