Timer和Meter指标的分钟率表示什么 [英] What does minute rates of both Timer and Meter metrics indicates

查看:407
本文介绍了Timer和Meter指标的分钟率表示什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了给出上下文,我们尝试根据Yammer
指标信息实现报告功能。

To give a context, we are trying to achieve reporting functionality based on the Yammer metrics information.

Yammer指标提供有关Timer和的信息米如下,

Yammer metrics providing the information about the Timer and Meters as below,

METER_METRIC:
             count = 1
         mean rate = 0.01 count/s
     1-minute rate = 0.00 count/s
     5-minute rate = 0.00 count/s
    15-minute rate = 0.00 count/s

  TIMER_METRIC:
             count = 1
         mean rate = 0.01 calls/s
     1-minute rate = 0.01 calls/s
     5-minute rate = 0.00 calls/s
    15-minute rate = 0.00 calls/s
               min = 89.77ms
               max = 89.77ms
              mean = 89.77ms
            stddev = 0.00ms
            median = 89.77ms
              75% <= 89.77ms
              95% <= 89.77ms
              98% <= 89.77ms
              99% <= 89.77ms
            99.9% <= 89.77ms

我读过这个并且能够获得有关应用程序的统计信息,如上所示。
计时器和仪表指标包含有关1分钟费率,5分钟费率和15分钟费率的信息。

I read this and able to get the statistics about application as shown above. The Timer and Meter metrics has the information about the 1-minute rate , 5- minute rate and 15 minute rate.

问题:

计时器和仪表指标的分钟费率是多少?以及如何计算这些?

What does minute rates of both Timer and Meter metrics indicates and how those are getting calculated?

推荐答案

全部(平均| 1分钟| 5分钟| 15分钟)-rate 指标表示吞吐量;即每秒处理多少单位的信息(事件)。

All (mean|1-min|5-minute|15-minute)-rate metrics indicate throughput; i.e., how many units of information (events) where processed per second.

平均费率

计算自仪表创建以来发生事件的速率。但这并不是很有用,因为它并不代表现在正在发生的事情

Calculates the rate at which events have occurred since the meter was created. But that's not very useful because it doesn't represent what is happening right now.

分钟费率

使用名为指数加权移动平均线(EWMA)的技术计算事件发生率。

Calculates the rate at which events have ocurred using a technique called Exponentially-weighted moving average (EWMA).

此速率与 top Unix命令中的十五分钟负载平均值具有相同的指数衰减因子。

This rate has the same exponential decay factor as the fifteen-minute load average in the top Unix command.

更多信息

查看 Timer.java Meter.java EWMA.java

如果你有更多时间,请看看Coda谈论这个话题Hale:衡量标准,衡量标准,无处不在 - Coda Hale

If you have more time, take a look at a talk about the topic by Coda Hale: Metrics, Metrics, Everywhere - Coda Hale

这篇关于Timer和Meter指标的分钟率表示什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆