pcp
[Top] [All Lists]

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

To: chandana@xxxxxxxxxxxxx
Subject: Re: [pcp] PMIE : Using raw value for a counter
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri, 15 May 2015 01:41:58 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1431663705.6445.46.camel@xxxxxxxxxxxxx>
References: <1431663705.6445.46.camel@xxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: cm4fXVc1rKYiBMvZU6ruwA1HNlB3Tw==
Thread-topic: PMIE : Using raw value for a counter
Hi Chandana,

----- Original Message -----
> 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 ?
> 

Not as far as I'm aware - I'd add a mysql.status.com_slave_start_seq metric
(or some other descriptive name) with instantaneous semantics & use that.

cheers.

--
Nathan

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