How to divide histogram bucket values by total count value?

178 views
Skip to first unread message

belo...@gmail.com

unread,
May 4, 2016, 9:17:48 AM5/4/16
to Prometheus Developers
How to divide histogram bucket values by total count value?

Brian Brazil

unread,
May 4, 2016, 9:26:58 AM5/4/16
to belo...@gmail.com, Prometheus Developers

On 4 May 2016 at 14:17, <belo...@gmail.com> wrote:
How to divide histogram bucket values by total count value?

If you're on master:

hh_bucket{le="1.0"} / ignoring (le) hh_count

If you're on 0.18.0 or before you'd do the same, but instead of "ignoring (le)" do "on (all,the,other,labels)". 

--
Reply all
Reply to author
Forward
0 new messages