pcp
[Top] [All Lists]

[Bug 1325037] New: archive PM_MODE_FORW fetches not scanning to first oc

To: pcp@xxxxxxxxxxx
Subject: [Bug 1325037] New: archive PM_MODE_FORW fetches not scanning to first occurrence of given metric
From: bugzilla@xxxxxxxxxx
Date: Fri, 08 Apr 2016 02:17:47 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
https://bugzilla.redhat.com/show_bug.cgi?id=1325037

            Bug ID: 1325037
           Summary: archive PM_MODE_FORW fetches not scanning to first
                    occurrence of given metric
           Product: Fedora
           Version: rawhide
         Component: pcp
          Assignee: nathans@xxxxxxxxxx
          Reporter: fche@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
                    mgoodwin@xxxxxxxxxx, nathans@xxxxxxxxxx,
                    pcp@xxxxxxxxxxx, scox@xxxxxxxxxx



Created attachment 1144938
  --> https://bugzilla.redhat.com/attachment.cgi?id=1144938&action=edit
pmlogreduce'd archive tarball

As I read the pmFetch / pmSetMode APIs, if an archive contains a given metric,
but not in the first few of its recorded result-sets, a PM_MODE_FORW fetch
should skip over as many as required until the given metric is found with a
value.  That doesn't seem to be happening with archives that are the output of
pmlogreduce.

With given archive tarball:

% pmval -U reduced-20151231.000006.meta hinv.ncpu -s 1
host:      easy.elastic.org
start:     Wed Dec 23 19:00:11 2015
end:       Wed Dec 30 18:50:11 2015
semantics: discrete instantaneous value
units:     none
samples:   1
19:00:11.533  No values available

even though % pmdumplog .... hinv.ncpu clearly shows a value at 19:10:11.533.

A longer % pmval run (without the -s 1) does show the hinv.ncpu value later.

-- 
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=p7MA1xW3Qt&a=cc_unsubscribe
<Prev in Thread] Current Thread [Next in Thread>