Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
I am trying PCP 5.0.2 with the all-new Grafana and so far so good, but I have a problem with displaying multiple metrics on a single graph. Say I want to display disk.dev.* all on one graph. If I put this to the query (with the wildcard) it wimply renders two dozens of legends with "vda". Not very useful, when I try to put $metric to the label field I expect the legend to show full metric name, however it simply displays "disk.dev.*" for all legends. There is also quite useful variable $metric0 which is exactly what I want (to display the last element of the metric name), however it displays "*" for all legends again.
I've managed to display "Value" for all legends too, however I am unable to reproduce this with standard metrics only with my own data. Here is the archive, the metric tree in question is:
mmv.fm_rails_activerecord_instances.*
These are counters of some object instances, for some reason PCP instance is not used (this has been fixed with statsd PMDA in PCP5 however I still need to be able to send from old version).
https://lzap.fedorapeople.org/temp/mmv-grafana-labels.tar.xz
Version: 5.0.2-1
Comment 1Andreas Gerstmayr
2019-12-18 14:37:57 UTC
Bug is confirmed and fixed in upstream (1.x branch):
commit c178548bb96d823444e3cfcc53d69477e80a2471
Author: Andreas Gerstmayr <agerstmayr>
Date: Wed Dec 18 12:29:09 2019 +0100
redis: support wildcards in metric names
Comment 2Andreas Gerstmayr
2020-01-07 14:12:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2020:1681