We have a histogram metric with lots of "le" bucket. I usually use 
histogram_quantile to see 50th percentile for this, etc. as such: 

histogram_quantile(0.50, 
sum(rate(amqp_bucket{env="prod"}[$__rate_interval])) by (cluster,le))

We have a few clusters which run the same service with the same metrics. I 
would like to see a difference comparison (to see how much faster/slower 
the calls are in an another cluster for the same services). 

Is there any way to do difference with histogram_quantiles? 
Something like

histogram_quantile(0.50, sum(rate(ampq_bucket{cluster="first"}[15s)) by 
(cluster,le))
-
histogram_quantile(0.50, sum(rate(ampq_bucket{cluster="second"}[15s)) by 
(cluster,le))


Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3cd8f5cd-8f71-41f2-9ddf-112df72df115n%40googlegroups.com.

Reply via email to