千分尺lib中的``分销statiSticexpiry''和`分销statisticbufferlength“?

发布于 2025-02-13 05:31:25 字数 623 浏览 0 评论 0原文

我们使用计时器来自StatsdMeterRegistry跟踪远程API请求持续时间(p95%)。从javadocs中,尚不清楚DistributionStatiSticexpirydistributionBufferlength会影响数据狗图表。并不真正了解千分尺中的“环缓冲区”是如何使用的,但是DistributionStatiSticexpriy似乎是确定最大百分位数值的时间。

,例如,如果95%的请求< = 1秒在distribution stattatiSticexpiry的1分钟内,那么p95的值在图表上的那一分钟内为1秒。

这是对吗?在这种情况下,什么distributionStatisticBufferLength意味着什么?

另外,如果我们在特定服务上有高负载(更多的500 rps)是否适合使用DistributionStatiSticeXpriy值(如5秒)和什么distribution stattatisticBufferLength

We use Timer from StatsdMeterRegistry to track the remote API requests duration (p95 percentile). From the JavaDocs not really clear how distributionStatisticExpiry and distributionStatisticBufferLength would affect on Data Dog charts. Not really understand about how "Ring Buffers" used in micrometer but the distributionStatisticExpiry seems the period of time in which the maximum percentile value is determined.

e.g. if 95% of requests <= 1sec within 1 minute of distributionStatisticExpiry, then the value of p95 would be 1 second during that minute on the graph.

Is this right? And what distributionStatisticBufferLength means in this case?

Also, if we have high load on particular service (more then 500 rps) would it be appropriate to use distributionStatisticExpiry value like 5 seconds and what distributionStatisticBufferLength?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文