Bug 1066174 - pmchart plot labels should be able to expand %h like titles do
Summary: pmchart plot labels should be able to expand %h like titles do
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pcp-gui
Version: rawhide
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: 2014-02-17 22:41 UTC by Nathan Scott
Modified: 2014-03-21 22:30 UTC (History)
2 users (show)

Fixed In Version: pcp-gui-1.5.13-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-25 07:55:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nathan Scott 2014-02-17 22:41:04 UTC
Plot labels (displayed in the individual chart legends) are static strings - it has been pointed out that these would be more useful with the ability to expand hostname (%h), as can be done with the Title string.  Perhaps %i and %m for the instance and metric names would be handy as well.

Comment 1 Nathan Scott 2014-02-18 07:25:06 UTC
After some initial investigation, I've found that plot labels support %i (instance name) expansion via the configuration file.  Its a bit limited though - it should be supported in the same way via interactive use, and it also "forgets" the initial setting, such that a "Save View" action later does not preserve the initial %i.

Out of time for today though, these issues along with introduction of %h, %H and %m will have to wait for tomorrow.

Comment 2 Nathan Scott 2014-02-19 06:58:00 UTC
This is resolved in upstream commit 4daa63fc... pcp-gui-1.5.12 will include this fix, planned to be released shortly.

commit 4daa63fc78c256db9e6c930cf613331a93bae148
Author: Nathan Scott <nathans>
Date:   Wed Feb 19 17:56:25 2014 +1100

    Chart legend updates, particularly allowing for additional wildcards
    
    Adds several new wildcards into the chart plot titles specification
    which was previously limited to just %i (instance name).  This now
    adds in short and long forms of host, metric and instance name.  The
    full list is documented via updates to the pmchart(1) man page.
    
    Also, fix two bugs found in the process.  Firstly, File -> Save View
    menu option was not preserving wildcards, instead it was saving the
    expanded title.  Second, modifications via the (interactive) Plot
    title line edit on the New and Edit Chart dialogs was not correctly
    updating the chart on pressing OK or Apply.
    
    Resolves Red Hat bug #1066174.

Comment 3 Fedora Update System 2014-02-20 06:34:45 UTC
pcp-gui-1.5.12-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/pcp-gui-1.5.12-1.fc20

Comment 4 Fedora Update System 2014-02-20 06:35:36 UTC
pcp-gui-1.5.12-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/pcp-gui-1.5.12-1.fc19

Comment 5 Fedora Update System 2014-02-20 06:36:23 UTC
pcp-gui-1.5.12-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pcp-gui-1.5.12-1.el6

Comment 6 Fedora Update System 2014-02-22 00:36:11 UTC
Package pcp-gui-1.5.12-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pcp-gui-1.5.12-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2784/pcp-gui-1.5.12-1.fc19
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-02-25 07:55:19 UTC
pcp-gui-1.5.12-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2014-03-02 03:41:01 UTC
pcp-gui-1.5.12-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2014-03-06 04:52:09 UTC
pcp-gui-1.5.13-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/pcp-gui-1.5.13-1.el6

Comment 10 Fedora Update System 2014-03-21 22:30:21 UTC
pcp-gui-1.5.13-1.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


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