作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
根据Prometheus文档,为了使用直方图度量具有95%的百分位数,我可以使用以下查询:
histogram_quantile(0.95, sum(rate(http_request_duration_seconds_bucket[5m])) by (le))
per-second average rate of increase of the time series in the range vector.
最佳答案
我相信this是普罗米修斯的代码
一般的想法是,您可以使用存储桶中的数据来推断/近似分位数
Elasticsearch的汇总功能还does something similar(但有所不同/简单得多)
关于histogram - 基于Prometheus中的速率了解histogram_quantile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55162093/
我试图弄清楚背后的计算 histogram_quantile(0.9, rate(http_request_duration_seconds_bucket[10m])) 基于 https://prom
我是一名优秀的程序员,十分优秀!