微米`@@timed`监视器?
我使用 New Relic micrometer 注册表来监视 Spring boot 应用程序中的指标。我在控制器级别使用了 @Timed 注释来单独监视每个 API。但是,我无法理解我通过此过程获得的数据。我通过此获得 5 个指标,分别是 Average
、Count
、Sum
、Max
和 Min< /代码>。由于 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:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论