pmrep: add support for ignoring (-I) and omitting (-v) metrics
commitaedf9d9e861748900c2b72ff2dd44c7ad2e0598c
authorMarko Myllynen <myllynen@redhat.com>
Mon, 8 May 2017 17:22:23 +0000 (8 20:22 +0300)
committerMarko Myllynen <myllynen@redhat.com>
Mon, 8 May 2017 17:22:23 +0000 (8 20:22 +0300)
tree0237934840150b3201dcb22fbb172d028595af5d
parent84b7aa0bd8ba01795cb0b31ef4ed39aca0a23fea
pmrep: add support for ignoring (-I) and omitting (-v) metrics

Allow ignoring incomptabile/unsupported metrics.

Allow omitting single-valued ("flat") metrics, i.e., those with
no instance domain, from reporting when metrics were requested.

Properly handle duplicate metrics (seen as part of the sample
PMDA) while at it. Now pmrep -I sample works ok.

Add QA for both new options. Recalibrate pmrep shell completions.
qa/1069
qa/1069.out
src/bashrc/pcp_completion.sh
src/pmrep/TODO
src/pmrep/pmrep.1
src/pmrep/pmrep.conf
src/pmrep/pmrep.conf.5
src/pmrep/pmrep.py
src/zshrc/_pcp