Skip to content
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

provide median() operator or note how to get it with quantile(0.5) #3791

Open
tzz opened this Issue Feb 3, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@tzz
Copy link

tzz commented Feb 3, 2018

Currently, the quantile operator is provided, but there's no median. The median according to https://prometheus.io/docs/practices/histograms/ is trivially quantile(0.5, ...). Can you please consider either adding a new median operator to do this, or adding a note to quantile in the docs https://prometheus.io/docs/prometheus/latest/querying/operators/ for users that don't know this?

Thank you.

@tzz tzz changed the title provide median() function or note how to get it with quantile(0.5) provide median() operator or note how to get it with quantile(0.5) Feb 3, 2018

@matthiasr

This comment has been minimized.

Copy link
Contributor

matthiasr commented Feb 3, 2018

@tzz

This comment has been minimized.

Copy link
Author

tzz commented Feb 4, 2018

The operators.md reference was not in the docs repo so I created #3792 which should resolve it trivially.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.