Discussion:
[pcp] pcp updates: pmrep process monitoring, build tweaks
Nathan Scott
2017-07-17 06:58:26 UTC
Permalink
Changes committed to git://git.pcp.io/pcp.git master

Nathan Scott (3):
build: add perl deps and perl-interpreter use for spec files
libvirt pmda: use error codes that do not generate log warnings
build: add log import library pkg-config support

Marko Myllynen (1):
pmrep: add per process metric sets to default pmrep.conf(5)


build/rpm/fedora.spec | 12 ++
build/rpm/pcp.spec.in | 11 ++
debian/libpcp-import1-dev.install | 1
qa/1331 | 1
qa/1331.out | 2
src/libpcp_import/src/.gitignore | 1
src/libpcp_import/src/GNUmakefile | 12 ++
src/libpcp_import/src/libpcp_import.pc.in | 10 ++
src/pmdas/libvirt/pmdalibvirt.python | 4
src/pmrep/pmrep.conf | 121
++++++++++++++++++++++++++++++
10 files changed, 169 insertions(+), 6 deletions(-)


commit caf8620ba49da7b2f77bf021fcb407ef2985e24e
Author: Nathan Scott <***@redhat.com>
Date: Mon Jul 17 14:29:49 2017 +1000

build: add log import library pkg-config support

commit a80214ef1a093b0ddd8898b2ef9a307eeaf72fb0
Author: Marko Myllynen <***@redhat.com>
Date: Mon Jul 17 11:37:12 2017 +1000

pmrep: add per process metric sets to default pmrep.conf(5)

Allow monitoring for a process with pmrep(1) by defining several
metric sets covering all aspects of a process' performance with
currently available PCP metrics - the names below should be pretty
self-descriptive:

[proc-info]
[proc-info-ext]
[proc-essential]
[proc-cpu]
[proc-cpu-ext]
[proc-mem]
[proc-mem-ext]
[proc-io]
[proc-io-ext]
[proc-children]
[proc-os-stats]

A short example:

$ pmrep -c ~/Desktop/pmrep.conf -i '008359.*' -I -s 3 :proc-essential
p.p.pid p.p.cmd p.p.c.pct p.p.c.ratio p.m.pct
p.m.vmreal p.m.vmhwm p.i.io_pct p.i.total_bytes p.i.cum_bytes
008359 008359 totem 008359 to 008359 tote 008359 008359
tot 008359 to 008359 tot 008359 totem 008359 totem

Kbyte Kbyte kb/s kb
8359 totem N/A 2.102 0.444
71132 71132 N/A N/A 6660
8359 totem 4.524 2.102 0.444
71132 71132 0.000 0 6660
8359 totem 3.034 2.102 0.444
71132 71132 0.000 0 6660

commit 362f2fbeac8c230865cbdede2dbcb89afca71ced
Author: Nathan Scott <***@redhat.com>
Date: Mon Jul 17 11:33:53 2017 +1000

libvirt pmda: use error codes that do not generate log warnings

For lost-connection style errors, we tend to use PM_ERR_AGAIN
and not PM_ERR_NOTCONN (used by pmcd to signify agent down) -
this squashes libpcp_pmda error reports into the PMDA logfile.

commit cab92b09029dfac8c47b2182db519d235c7b23f7
Author: Nathan Scott <***@redhat.com>
Date: Fri Jul 14 10:00:45 2017 +1000

build: add perl deps and perl-interpreter use for spec files

perl dependency has been moved to perl-interpreter in Fedora
<
https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules>
--
Nathan
Loading...