[pcp:master] reported: RFE: pminfo option to indicate which metrics are actually available (an inverse of -v option) #github

[email protected] Integration <[email protected]> Fri, 17 Feb 2017 20:12:10 -0800
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>

[pcp:master] New Comment on Issue #275 RFE: pminfo option to indicate which metrics are actually available (an inverse of -v option) ( https://github.com/performancecopilot/pcp/issues/275 )
By kmcdonell ( https://github.com/kmcdonell ) :

@wcohen I wonder if the use case you're considering is already covered by pmprobe? This is lighter-weight than pminfo, and the second value reported is the number of values available, else a PMAPI erorr code (<0). This anambiguously indicates if there are values behind one or more metrics, and if not the caller can choose to handle the numval == 0 and numval < 0 cases separately or together, as they wish.