pcp
[Top] [All Lists]

[Bug 1269921] pmRecordControl misses the first sample

To: pcp@xxxxxxxxxxx
Subject: [Bug 1269921] pmRecordControl misses the first sample
From: bugzilla@xxxxxxxxxx
Date: Thu, 08 Oct 2015 14:42:33 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <bug-1269921-355098@xxxxxxxxxxxxxxxxxxx>
References: <bug-1269921-355098@xxxxxxxxxxxxxxxxxxx>
https://bugzilla.redhat.com/show_bug.cgi?id=1269921



--- Comment #1 from Lukas Berk <lberk@xxxxxxxxxx> ---
I wonder if this is a product of how pmsubsys.py handles get_stats() and
getting the difference between metric fetches for rate interpolation (which
aiui, requires two sets of metrics with different, non-zero timestamps).

It could be that pmcollectl is collecting three samples, however due to
pmsubsys.py, (which requires rate calculation/conversion), only outputs/returns
two values (skipping the first).  While required for pmcollectl to properly
format complete output in live situations, I can see how it would be
advantageous to report all the values for metrics of 'instantaneous value'
types in archives.  If this is indeed the case, I'm not entirely sure if/how to
change pmcollectl (or perhaps pmsubsys.py) to fix this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=uBH8Jf3zCS&a=cc_unsubscribe

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