pcp
[Top] [All Lists]

Re: [pcp] PMIE : Using raw value for a counter

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] PMIE : Using raw value for a counter
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Mon, 18 May 2015 11:11:47 +0300
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <017601d08f55$28fd85c0$7af89140$@internode.on.net>
Organization: Red Hat
References: <1431663705.6445.46.camel@xxxxxxxxxxxxx> <017601d08f55$28fd85c0$7af89140$@internode.on.net>
Reply-to: myllynen@xxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
Hi,

On 2015-05-16 00:21, Ken McDonell wrote:
> 
> I am struggling for a good name for the function to do this (I'd
> prefer to use the same name for derived metrics and pmie).
> 
> Something like value(x) or norate(x) would take an expression (x)
> with counter semantics and return the current value of x without the
> normal rate conversion.
> 
> Votes for value() or norate() would be appreciated, as would
> suggestions for a better name.

I give positive votes for value() or raw() and negative votes for
norate() and snapshot().

Thanks,

-- 
Marko Myllynen

<Prev in Thread] Current Thread [Next in Thread>