[英]Average of a summary metric prometheus
I have a summary metric called rider_filler_processing_message_time
.我有一个名为rider_filler_processing_message_time
的汇总指标。
It gives me percentiles of the latency.它给了我延迟的百分位数。
How can I get the average latency including all the percentiles?如何获得包括所有百分位数的平均延迟?
I couldn't understand what means but i think this query can solve your problem我不明白是什么意思,但我认为这个查询可以解决你的问题
sum_over_time(your_metric[5m]) /sum(count_over_time(your_metric[5m]))
I hope to solve your question我希望能解决你的问题
我已经使用此查询完成了它:
sum(rate(a_sum[interval])) / sum(rate(a_count[interval]))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.