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 upprovide median() operator or note how to get it with quantile(0.5) #3791
Comments
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
This comment has been minimized.
This comment has been minimized.
|
Since it's so easy to do with the existing quantile function, I don't think
we need a new one.
For mentioning this, can you please make a PR in <
https://github.com/prometheus/docs>?
…On Sat, Feb 3, 2018, 20:08 Ted Zlatanov ***@***.***> wrote:
Currently, the quantile function 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 function 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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3791>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAICBhBikTUUqIawd3NmX2BDyzTYqrnOks5tRK69gaJpZM4R4SUq>
.
|
This comment has been minimized.
This comment has been minimized.
|
The operators.md reference was not in the docs repo so I created #3792 which should resolve it trivially. Thanks. |
simonpasquier
added
kind/enhancement
component/documentation
labels
Sep 6, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tzz commentedFeb 3, 2018
•
edited
Currently, the
quantileoperator is provided, but there's nomedian. Themedianaccording to https://prometheus.io/docs/practices/histograms/ is triviallyquantile(0.5, ...). Can you please consider either adding a newmedianoperator to do this, or adding a note toquantilein the docs https://prometheus.io/docs/prometheus/latest/querying/operators/ for users that don't know this?Thank you.