-
Notifications
You must be signed in to change notification settings - Fork 24
Set quantile value to NAN if there are no samples provided for an age #305
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
Conversation
9883725
to
4b04408
Compare
We should see how |
5ba3633
to
d85c203
Compare
d85c203
to
23d8391
Compare
@DifferentialOrange please look at my changes |
@yngvar-antonsson , thank you for your contribution. Everything seems fine except for test name/absence of comments. It's not that easy to understand what behavior is tested if you are not a developer of this quantile. I think it can be improved after merging, but I'm not insist on it. |
Closes #303
I didn't forget about
Set quantile value to NAN if there are no samples provided for an age.
Golang summary collector (link provided by Prometheus doc) uses NaN to set undefined quantile values. The decision was inpired by Golang solution.