m1_rate, m5_rate and m15_rate

6,356 views
Skip to first unread message

Stephen Connolly

unread,
Mar 4, 2014, 12:42:39 PM3/4/14
to metric...@googlegroups.com
I am seeing some strangeness with the different rates... it seems like the m1, m5 and m15 rates are the wrong way around.

Metrics 3.0.1

Starting from a rate of 0 rpm, adding 60+ rpm (since the metric reporting involves a few requests per min)

timers
{
  • http.requests
    {
    • count717,
    • max12.830905000000001,
    • mean0.08323803207810322,
    • min0.00041700000000000005,
    • p500.0032900000000000004,
    • p750.006025,
    • p950.02296930000000001,
    • p980.03605908,
    • p990.9900917800000395,
    • p99912.830905000000001,
    • values
      [],
    • stddev0.8774492983815769,
    • m15_rate97.84780070301642,
    • m1_rate39.61643622214264,
    • m5_rate83.52638152649571,
    • mean_rate153.43836709106407,
    • duration_units"seconds",
    • rate_units"calls/minute"
    },
 
Inline images 1
Assuming the graph makes it through to the mailing list, you can see that the 15min average responds to the increased request load faster than the 1 min average which is slowest to respond.

After 5 minutes the m15 and m5 averages are the same:

Inline images 2

timers
{
  • http.requests
    {
    • count1073,
    • max10.389893,
    • mean0.034416146887159535,
    • min0.00041700000000000005,
    • p500.002837,
    • p750.004268500000000001,
    • p950.019312649999999997,
    • p980.026047239999999985,
    • p990.034209150000000084,
    • p99910.388753155,
    • values
      [],
    • stddev0.5230684819414663,
    • m15_rate83.69251518764169,
    • m1_rate50.0368033558766,
    • m5_rate82.33652134806663,
    • mean_rate118.27674942776319,
    • duration_units"seconds",
    • rate_units"calls/minute"
    },

Am I just mis-understanding these metrics or is there an incorrect constant in the exponentially weighted moving averages?

-Stephen

Ryan W Tenney

unread,
Mar 4, 2014, 1:54:06 PM3/4/14
to metric...@googlegroups.com
This was fixed in 3.0.2

// ryan w tenney


--
You received this message because you are subscribed to the Google Groups "metrics-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metrics-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Stephen Connolly

unread,
Mar 4, 2014, 1:57:07 PM3/4/14
to metric...@googlegroups.com
Cool


On Tuesday, 4 March 2014, Ryan W Tenney <ry...@10e.us> wrote:
This was fixed in 3.0.2

// ryan w tenney


On Tue, Mar 4, 2014 at 12:42 PM, Stephen Connolly <stephen.al...@gmail.com> wrote:
I am seeing some strangeness with the different rates... it seems like the m1, m5 and m15 rates are the wrong way around.

Metrics 3.0.1

Starting from a rate of 0 rpm, adding 60+ rpm (since the metric reporting involves a few requests per min)

timers
{
  • http.requests
    {
    • count717,
    • max12.830905000000001,
    • mean0.08323803207810322,
    • min0.00041700000000000005,
    • p500.0032900000000000004,
    • p750.006025,
    • p950.02296930000000001,
    • p980.03605908,
    • p990.9900917800000395,
    • p99912.830905000000001,
    • values
      [],
    • stddev0.8774492983815769,
    • m15_rate97.84780070301642,
    • m1_rate39.61643622214264,

--
You received this message because you are subscribed to the Google Groups "metrics-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metrics-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "metrics-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metrics-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
Sent from my phone
Reply all
Reply to author
Forward
0 new messages