微米`@@timed`监视器?

发布于 2025-01-19 06:01:05 字数 596 浏览 3 评论 0原文

我使用 New Relic micrometer 注册表来监视 Spring boot 应用程序中的指标。我在控制器级别使用了 @Timed 注释来单独监视每个 API。但是,我无法理解我通过此过程获得的数据。我通过此获得 5 个指标,分别是 AverageCountSumMaxMin< /代码>。由于 Y 轴上没有单位,因此很难找出这些值代表什么。我假设 count 给出了 API 的吞吐量。 平均 是否给了我响应时间?如果没有,我如何为我的 API 获取它?参考代码:

@Timed(percentiles = {0.95, 0.99, 0.50}, value = "company-fetch-id")

参考图片:

在此处输入图像描述

I have used New Relic micrometer registry for monitoring metrics in my Spring boot application. I used @Timed annotation at the controller level to monitor each API separately. However, I am unable to make sense of the data that I am getting through this. I am getting 5 metrics through this which are Average, Count, Sum, Max and Min. It is difficult to find out what these values represent as there is no unit on the Y axis. I assume count is giving me the throughput of the API. Is average giving me the response time? If not, how do I get that for my APIs? Reference code:

@Timed(percentiles = {0.95, 0.99, 0.50}, value = "company-fetch-id")

Reference image:

enter image description here

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

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

发布评论

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