Changes committed to git://git.pcp.io/pcp.git master
Frank Ch. Eigler (7):
pmwebd man: tweak
pmwebd: -X (graphite metric name-shortening) mode QA
pmwebd: enable graphite image-mode caching via redirection
pmwebd: graphite/png mode: add units/sem to legend
pmmgr qa/666: cover pmlogreduce extensions
pmmgr: add general monitor-program launching option
Revert "pmmgr: remove [...] comments about libpcp and containers"
Martins Innus (4):
Test with changing the way pmwebd provides strings to graphite
Start at changing QA 661 for pmgraphite names
Add a command line option to pmwebd for name encoding
pmwebapi : add missing extern in header
Jackson P (1):
Add missing "]" in synopsis
Ken McDonell (1):
src/pmmgr/pmmgr.cxx: plug a glob() mem leak
man/man1/pmcd.1 | 2
man/man1/pmmgr.1 | 36
man/man1/pmwebd.1 | 24
qa/661 | 83 +
qa/661.out | 1847
+++++++++++++++++++++++++++++++++++++++++---
qa/666 | 38
qa/666.out | 13
src/pmmgr/pmmgr.cxx | 67 +
src/pmmgr/pmmgr.h | 16
src/pmwebapi/main.cxx | 16
src/pmwebapi/pmgraphite.cxx | 253 ++++--
src/pmwebapi/pmresapi.cxx | 2
src/pmwebapi/pmwebapi.h | 5
src/pmwebapi/pmwebd.options | 2
14 files changed, 2150 insertions(+), 254 deletions(-)
Details ...
commit 80339c2a82366b0d4b037666814fe6c7f1fb90d5
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Jan 4 12:14:30 2016 +1100
src/pmmgr/pmmgr.cxx: plug a glob() mem leak
Exposed by qa/666 on several QA machines.
commit 1ef8e32431bb2e078d6905b0aea0dfe57de98885
Author: Jackson P <jacksonpauls@xxxxxxxxx>
Date: Thu Dec 31 13:59:24 2015 +0000
Add missing "]" in synopsis
commit aecf92fab2d10059d33f6ee004e2100df6d09c06
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Fri Oct 16 06:39:08 2015 -0400
Revert "pmmgr: remove [...] comments about libpcp and containers"
The comments remain helpful & appropriate.
This reverts commit 7c679d92cd3da8e166c58b0b807bc526035e1f9b.
commit 2c3d2e0e5ce1cf15380a58442de605ed6901571d
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Sun Dec 27 18:39:56 2015 -0500
pmmgr: add general monitor-program launching option
Extend pmmgr with the ability to start arbitrary pcp-flavoured
monitoring programs for PMCDs it finds. This may be used to
automatically launch pcp2graphite, pmrep, or other monitoring tools,
as long as they understand the "-h HOSTSPEC" option. QA & docs
included.
commit e8905285646a16218b457b7a803fc4d7657202a7
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Thu Oct 15 21:10:23 2015 -0400
pmmgr qa/666: cover pmlogreduce extensions
Tested within the granular log-merging loop.
commit 7b60d2910fe005dbb79830fb347a800365a8bfcb
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Sun Dec 27 13:31:53 2015 -0500
pmwebd: graphite/png mode: add units/sem to legend
Tweak the graphite/png rendering mode to add metric units, and tweak
chart dimensions to match closer the javascript-drawn versions.
Hand-tested, as QA cannot analyze image contents.
commit 8faded7a521653fbb23e7a9149e524fdcf96a40e
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Sun Dec 27 12:12:48 2015 -0500
pmwebd: enable graphite image-mode caching via redirection
The graphite web-api allows relative time specifications (e.g.,
from=-2hr until=now). When rendered into a png, this allows a web
browser to cache those images for reuse later, by which time the "now"
is no longer current. Even emitting various cache-defeating http
headers has not proven reliable in preventing this.
So now we defeat this unwanted caching by emitting a HTTP 302 redirect
for PNG rendering requests that are suspected to include relative-time
coordinates, turning them into absolute (epoch-seconds) requests.
The PNGs resulting from those requests are more safely cachable.
While testing in the vicitity, it turns out that the %HEX quoting used
in "pmwebd -X" appears to awaken a latent graphite/graphlot webapp bug
in terms of buggy urlencoding of metric names. So we switch to ~HEX,
since the tilde ~ character is not a "reserved character" in RFC3986,
so does not need encoding.
commit e9262b89b0fe3324dfba1072e1908e07958ce2c1
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Sun Dec 27 08:40:18 2015 -0500
pmwebd: -X (graphite metric name-shortening) mode QA
Tweak minnus' code to pass the 661 tests, and added one to test
backward-compatibility non-X mode too. Made -X default via
pmwebd.options.
commit d93cbaca46029d80688dad5013b1b6a9c65c4d29
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Sun Dec 27 08:37:30 2015 -0500
pmwebd man: tweak
Clarify -X and -P option language.
commit c268d5bf424b078c92397b58394f2bd10a95ec09
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Tue Oct 20 16:39:38 2015 +0000
pmwebapi : add missing extern in header
commit aed6305676c603276da76e8200673ed577126c76
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Fri Oct 16 16:17:21 2015 +0000
Add a command line option to pmwebd for name encoding
commit dbe39c45a16c23743e8699a9fb9607b19aaa6f79
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu Oct 15 18:35:51 2015 +0000
Start at changing QA 661 for pmgraphite names
commit c599fa4a1bc0c693a725740196652cce4ef26585
Author: Martins Innus <minnus@xxxxxxxxxxx>
Date: Thu Oct 8 17:46:33 2015 +0000
Test with changing the way pmwebd provides strings to graphite
Graphite/grafana now seem to tolerate some more special characters.
Try to not escape them to see if archive and metrics names can
display closer to their true names.
|