Bug 964135 - pmchart fails to plot an archive
Summary: pmchart fails to plot an archive
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: pcp-gui
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nathan Scott
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-17 10:49 UTC by Marko Myllynen
Modified: 2013-08-05 15:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-05 02:12:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Example archives (146.62 KB, application/x-bzip2)
2013-05-17 10:50 UTC, Marko Myllynen
no flags Details

Description Marko Myllynen 2013-05-17 10:49:54 UTC
Description of problem:
I'll attach three different archives, one for incoming traffic, one for outgoing traffic, and one containing both, all generated from the same CSV data. Using pminfo/pmval shows no differences for the corresponding metrics.

Opening csv-data-lan-out with "pmchart -t 1m -a csv-data-lan-out" and plotting csv_data_lan_out.test.lan_outbytes_linux.eth0.txbyt_s works as expected but opening csv-data-lan-both with "pmchart -t 1m -a csv-data-lan-both" and plotting csv_data_lan_both.test.lan_outbytes_linux.eth0.txbyt_s produces an empty view.

Version-Release number of selected component (if applicable):
pcp-3.8.0-1.el6.x86_64
pcp-gui-1.5.8-2.el6.x86_64

Comment 1 Marko Myllynen 2013-05-17 10:50:40 UTC
Created attachment 749294 [details]
Example archives

Comment 2 Nathan Scott 2013-07-26 05:03:33 UTC
| ... plotting csv_data_lan_both.test.lan_outbytes_linux.eth0.txbyt_s
| produces an empty view

It appears there is only a single value in the archive for this metric - is that expected?  It also has a timestamp that is for the final fetch group in the archive.

$ pmdumplog -z -a csv-data-lan-both | grep csv_data_lan_both.test.lan_outbytes_linux.eth0.txbyt_s
PMID: 245.0.12 (csv_data_lan_both.test.lan_outbytes_linux.eth0.txbyt_s)
23:59:00.000  245.0.12 (csv_data_lan_both.test.lan_outbytes_linux.eth0.txbyt_s): value 657803.87

pmchart is going to have a hard time working with a single data point.  Could this be a failure to import all the data you expected, Marko?  (and also, is it an archive that would be susceptible to the earlier log import issues around out-of-time-order records?)

thanks.

Comment 3 Nathan Scott 2013-08-05 02:12:35 UTC
As per earlier comments, on closer inspection of the archive this appears to not be a bug.

Comment 4 Marko Myllynen 2013-08-05 15:55:32 UTC
Hi Nathan,

yes, agreed, all the evidence suggests that this was also collateral damage of bug 958745.

Thanks.


Note You need to log in before you can comment on or make changes to this bug.