Hi Chandana,
On 15/05/15 14:21, Chandana De Silva wrote:
All,
I need to evaluate the raw value in PMIE of a metric which has been
defined as a Counter.
The metric is ;
$ pminfo -T -d -h gwdb01.prod.mel.au.m4u.com.au mysql.status.com_slave_start
mysql.status.com_slave_start
Data Type: 32-bit unsigned int InDom: PM_INDOM_NULL 0xffffffff
Semantics: counter Units: count
Help: <empty entry>
Since this value does not change very often, pmie sees the value as 0.
Is there any way I can force pmie to use the raw value ?
I just committed a change to pmie to add a new "instant" unary operator.
Once this flows upstream, you'll be able to so
instant mysql.status.com_slave_start > 0 -> some_action;
or
instant(mysql.status.com_slave_start) > 0 -> some_action;
|