Updates to Github #github

[email protected] Integration <[email protected]> Tue, 17 Jan 2017 14:52:07 -0800
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>

20 New Commits:

[pcp:master] By Lukas Berk <[email protected]>:
94846c471769 ( https://github.com/performancecopilot/pcp/commit/94846c4717694d872638d3479dff28b118f9f07f ) : pmdadocker: metrics via docker's remote api This is a multithreaded pmda. One thread is in use for docker api queries, some of which can take an extended amount of time, and the other is used for responses from client tools Due to the http requests returning a string, libpcp_web had to be tweaked to include both a new pmjson function pmjsonInitChar as well as tweaking the http_fetching to enable changing the request to match the needs of the docker api A valgrind test has been included in the qa

Added: qa/924 ( https://github.com/performancecopilot/pcp/blob/master/qa/924 )
Added: qa/924.out ( https://github.com/performancecopilot/pcp/blob/master/qa/924.out )
Added: src/pmdas/docker/GNUmakefile ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/GNUmakefile )
Added: src/pmdas/docker/Install ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/Install )
Added: src/pmdas/docker/Remove ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/Remove )
Added: src/pmdas/docker/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/docker.c )
Added: src/pmdas/docker/domain.h ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/domain.h )
Added: src/pmdas/docker/help ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/help )
Added: src/pmdas/docker/pmns ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/pmns )
Added: src/pmdas/docker/root ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/root )
Modified: qa/group ( https://github.com/performancecopilot/pcp/blob/master/qa/group )
Modified: src/include/pcp/pmjson.h ( https://github.com/performancecopilot/pcp/blob/master/src/include/pcp/pmjson.h )
Modified: src/libpcp_web/src/exports ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/exports )
Modified: src/libpcp_web/src/http_client.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/http_client.c )
Modified: src/libpcp_web/src/http_parser.h ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/http_parser.h )
Modified: src/libpcp_web/src/json_helpers.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/json_helpers.c )
Modified: src/pmdas/GNUmakefile ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/GNUmakefile )
Modified: src/pmns/stdpmid.pcp ( https://github.com/performancecopilot/pcp/blob/master/src/pmns/stdpmid.pcp )

[pcp:master] By Lukas Berk <[email protected]>:
30a01040a859 ( https://github.com/performancecopilot/pcp/commit/30a01040a859de9275703d910eaa272e142d372e ) : Integrate various feedback to pmdadocker

Modified: qa/924 ( https://github.com/performancecopilot/pcp/blob/master/qa/924 )
Modified: src/pmdas/docker/Remove ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/Remove )
Modified: src/pmdas/docker/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/docker.c )

[pcp:master] By Lukas Berk <[email protected]>:
d516a9af8405 ( https://github.com/performancecopilot/pcp/commit/d516a9af8405724de6649a970938b17635e95b7c ) : pmdadocker - rework json interface for callback approach pmjsoninit.3 - update documentation qa/924{,.out} - update testsuite with helgrind tool json_test.c - update testcase with callback exports - remove pmjsoninitchar interface json_helpers.c - remove pmjsoninitchar and change pmjsoninit{,indom} to use callback for filling in the buffer with the JSON docment docker/docker.c - update pmdadocker with feedback root/docker.c - update pmdaroot with new interface

Modified: man/man3/pmjsoninit.3 ( https://github.com/performancecopilot/pcp/blob/master/man/man3/pmjsoninit.3 )
Modified: qa/924 ( https://github.com/performancecopilot/pcp/blob/master/qa/924 )
Modified: qa/924.out ( https://github.com/performancecopilot/pcp/blob/master/qa/924.out )
Modified: qa/src/json_test.c ( https://github.com/performancecopilot/pcp/blob/master/qa/src/json_test.c )
Modified: src/include/pcp/pmjson.h ( https://github.com/performancecopilot/pcp/blob/master/src/include/pcp/pmjson.h )
Modified: src/libpcp_web/src/exports ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/exports )
Modified: src/libpcp_web/src/json_helpers.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/json_helpers.c )
Modified: src/pmdas/docker/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/docker.c )
Modified: src/pmdas/root/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/root/docker.c )

[pcp:master] By Lukas Berk <[email protected]>:
a626caec8f53 ( https://github.com/performancecopilot/pcp/commit/a626caec8f53d2c80fc1cab7f450539f94541982 ) : Restore inital json interfaces we can't just drop the inital interfaces for pmjsonInit and pmjsonInitIndom Instead, we'll create a default compat callback and have them both call pmjsonInitIterable immediately, which will do the heavy lifting.

Modified: qa/src/json_test.c ( https://github.com/performancecopilot/pcp/blob/master/qa/src/json_test.c )
Modified: src/include/pcp/pmjson.h ( https://github.com/performancecopilot/pcp/blob/master/src/include/pcp/pmjson.h )
Modified: src/libpcp_web/src/exports ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/exports )
Modified: src/libpcp_web/src/json_helpers.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/json_helpers.c )
Modified: src/pmdas/docker/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/docker.c )
Modified: src/pmdas/root/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/root/docker.c )

[pcp:master] By Nathan Scott <[email protected]>:
1cb48d1e584b ( https://github.com/performancecopilot/pcp/commit/1cb48d1e584b15b48f91edaa5a309cffad74799e ) : libpcp_web: JSON API coding consistency, small improvements and fixes Mainly work on the iterable routine to get the callback to match the simpler semantics of read(2) as originally intended. Rename routine for the long-term, as the former was too much of a mouthful (my poor naming choice earlier). Update and use the typedef that was earlier added to pmjson.h for callback function. Fix compiler warning - json_helpers.c:376:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int fd = (int)extra; Fix memleak of buffers in several locations. Numerous cleanups in terms of using static routines, switching pmdaroot over to pmjsonGet use and use fread since its using that sort of file I/O not fds, and so on. Make variable names shorter sometimes for better code layout and consistency with rest of PCP, without losing clarity I hope. Fixed typo in the libpcp_web exports file. Update the pmjson(3) man page as it was out of date in some places before starting tidying, but also add in the new API tweaks there.

Added: man/man3/pmjsonget.3 ( https://github.com/performancecopilot/pcp/blob/master/man/man3/pmjsonget.3 )
Added: src/pmdas/docker/.gitignore ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/.gitignore )
Removed: man/man3/pmjsoninit.3 ( https://github.com/performancecopilot/pcp/blob/master/man/man3/pmjsoninit.3 )
Modified: debian/libpcp-web1-dev.install ( https://github.com/performancecopilot/pcp/blob/master/debian/libpcp-web1-dev.install )
Modified: src/include/pcp/pmjson.h ( https://github.com/performancecopilot/pcp/blob/master/src/include/pcp/pmjson.h )
Modified: src/libpcp_web/src/exports ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/exports )
Modified: src/libpcp_web/src/json_helpers.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/json_helpers.c )
Modified: src/libpcp_web/src/private.h ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/private.h )
Modified: src/pmdas/docker/Remove ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/Remove )
Modified: src/pmdas/docker/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/docker.c )
Modified: src/pmdas/docker/pmns ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/pmns )
Modified: src/pmdas/root/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/root/docker.c )
Modified: src/pmdas/root/root.h ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/root/root.h )

[pcp:master] By Ken McDonell <[email protected]>:
8b09b165d20e ( https://github.com/performancecopilot/pcp/commit/8b09b165d20e09a45787f08ac807d7ebf9e1b002 ) : src/pmns/Rebuild: rebuild pmns if root is empty If $PCP_VAR_DIR/pmns/root exists, but is empty then Rebuild would fail. Extend the existing check when creating a new skeletal root to include the cases where the root file is missing or the root file is empty. Found in the QA farm, where an unscheduled shutdown after a PCP install had left the root file empty at the next reboot.

Modified: src/pmns/Rebuild ( https://github.com/performancecopilot/pcp/blob/master/src/pmns/Rebuild )

[pcp:master] By Ken McDonell <[email protected]>:
1ced9364f1fb ( https://github.com/performancecopilot/pcp/commit/1ced9364f1fbb749cabac2dcd4d80917e958315a ) : qa/group: add some missing pmlc group tags to some tests

Modified: qa/group ( https://github.com/performancecopilot/pcp/blob/master/qa/group )

[pcp:master] By Ken McDonell <[email protected]>:
c26f7ed6704e ( https://github.com/performancecopilot/pcp/commit/c26f7ed6704e8001c5a118ac6f113625ff075c5b ) : qa: dodge bad version of libvirt python wrapper The libvirt PMDA will dump core in some cases because of a bug in the python wrapper code, so either don't run the test, or filter the resulting badness from the output.

Modified: qa/1041 ( https://github.com/performancecopilot/pcp/blob/master/qa/1041 )
Modified: qa/359 ( https://github.com/performancecopilot/pcp/blob/master/qa/359 )
Modified: qa/999 ( https://github.com/performancecopilot/pcp/blob/master/qa/999 )
Modified: qa/common.check ( https://github.com/performancecopilot/pcp/blob/master/qa/common.check )

[pcp:master] By Ken McDonell <[email protected]>:
09fc1a6c5bce ( https://github.com/performancecopilot/pcp/commit/09fc1a6c5bcecbb6d59416357e26d11e6ceb8c68 ) : qa/870: allow seq # as optional argument after --check When run with --check (like in a check callback script), specifying an additional NNN argument will append any diagnostic output to the NNN.full file, rather than overwriting the 870.full file.

Modified: qa/870 ( https://github.com/performancecopilot/pcp/blob/master/qa/870 )

[pcp:master] By Ken McDonell <[email protected]>:
f0827621562a ( https://github.com/performancecopilot/pcp/commit/f0827621562ae16b7fcab9979d057143b6a7d3a0 ) : qa/870: don't truncate $seq.full if --check specified

Modified: qa/870 ( https://github.com/performancecopilot/pcp/blob/master/qa/870 )

[pcp:master] By Ken McDonell <[email protected]>:
82cd808d926d ( https://github.com/performancecopilot/pcp/commit/82cd808d926d58eb3dea17eb35ce119430280343 ) : qa/994: additional diagnostics

Modified: qa/994 ( https://github.com/performancecopilot/pcp/blob/master/qa/994 )

[pcp:master] By Nathan Scott <[email protected]>:
c1f125a14042 ( https://github.com/performancecopilot/pcp/commit/c1f125a14042d1640041d6da7e16425b30f49dcf ) : libpcp_web: correct the json bytes offset/pointer calculation Ensure the correct buffer offset is used when copying data.

Modified: src/libpcp_web/src/json_helpers.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/json_helpers.c )

[pcp:master] By Nathan Scott <[email protected]>:
905393662f6d ( https://github.com/performancecopilot/pcp/commit/905393662f6d43c5192ba7b00f632919af9c6401 ) : pmdadocker: final round of cleanup for now, minor fixes. Small edge case fix - incl. handling the case of no containers running. Also go back to the previous strdup usage on refresh thread, earlier change there was not correct and crashes.

Modified: src/pmdas/docker/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/docker.c )
Modified: src/pmdas/root/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/root/docker.c )

[pcp:master] By Nathan Scott <[email protected]>:
5ee534d6b9c7 ( https://github.com/performancecopilot/pcp/commit/5ee534d6b9c7943ef9d64d3b9afd4c500ec1e655 ) : qa: update filters for pmdadocker, additional net interfaces

Modified: qa/581 ( https://github.com/performancecopilot/pcp/blob/master/qa/581 )
Modified: qa/common.filter ( https://github.com/performancecopilot/pcp/blob/master/qa/common.filter )

[pcp:master] By Nathan Scott <[email protected]>:
872cb28215a3 ( https://github.com/performancecopilot/pcp/commit/872cb28215a386acb373af981977e21cb98312e6 ) : Merge branch 'master' of git://git.pcp.io/pcp

Added: src/pmdas/docker/pmdadocker.1 ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/pmdadocker.1 )

[pcp:master] By Ken McDonell <[email protected]>:
61de3f5bbbe6 ( https://github.com/performancecopilot/pcp/commit/61de3f5bbbe65b87fee460d6c96818127ccdf716 ) : qa/370: changes for sysstat v11.2.0 New data file and script changes to accommodate. Also recreating the data file on a machine that supports active VMs exposed a problem with the "user" time reported by sar -u ... this would appear to be usr + guest (thanks Nathan), so use derived metrics to reconcile the values (like already used in the sys CPU case).

Added: qa/370.out.13 ( https://github.com/performancecopilot/pcp/blob/master/qa/370.out.13 )
Added: qa/sadist/sa-sysstat-11.2.0 ( https://github.com/performancecopilot/pcp/blob/master/qa/sadist/sa-sysstat-11.2.0 )
Modified: qa/370 ( https://github.com/performancecopilot/pcp/blob/master/qa/370 )

[pcp:master] By Ken McDonell <[email protected]>:
02162b733beb ( https://github.com/performancecopilot/pcp/commit/02162b733beb8719ccfba2232170f70b8d2275de ) : Merge branch 'master' of git://git.pcp.io/pcp

Added: man/man3/pmjsonget.3 ( https://github.com/performancecopilot/pcp/blob/master/man/man3/pmjsonget.3 )
Added: qa/924 ( https://github.com/performancecopilot/pcp/blob/master/qa/924 )
Added: qa/924.out ( https://github.com/performancecopilot/pcp/blob/master/qa/924.out )
Added: src/pmdas/docker/.gitignore ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/.gitignore )
Added: src/pmdas/docker/GNUmakefile ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/GNUmakefile )
Added: src/pmdas/docker/Install ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/Install )
Added: src/pmdas/docker/Remove ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/Remove )
Added: src/pmdas/docker/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/docker.c )
Added: src/pmdas/docker/domain.h ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/domain.h )
Added: src/pmdas/docker/help ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/help )
Added: src/pmdas/docker/pmdadocker.1 ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/pmdadocker.1 )
Added: src/pmdas/docker/pmns ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/pmns )
Added: src/pmdas/docker/root ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/docker/root )
Removed: man/man3/pmjsoninit.3 ( https://github.com/performancecopilot/pcp/blob/master/man/man3/pmjsoninit.3 )
Modified: debian/libpcp-web1-dev.install ( https://github.com/performancecopilot/pcp/blob/master/debian/libpcp-web1-dev.install )
Modified: qa/581 ( https://github.com/performancecopilot/pcp/blob/master/qa/581 )
Modified: qa/common.filter ( https://github.com/performancecopilot/pcp/blob/master/qa/common.filter )
Modified: qa/group ( https://github.com/performancecopilot/pcp/blob/master/qa/group )
Modified: qa/src/json_test.c ( https://github.com/performancecopilot/pcp/blob/master/qa/src/json_test.c )
Modified: src/include/pcp/pmjson.h ( https://github.com/performancecopilot/pcp/blob/master/src/include/pcp/pmjson.h )
Modified: src/libpcp_web/src/exports ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/exports )
Modified: src/libpcp_web/src/http_client.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/http_client.c )
Modified: src/libpcp_web/src/http_parser.h ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/http_parser.h )
Modified: src/libpcp_web/src/json_helpers.c ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/json_helpers.c )
Modified: src/libpcp_web/src/private.h ( https://github.com/performancecopilot/pcp/blob/master/src/libpcp_web/src/private.h )
Modified: src/pmdas/GNUmakefile ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/GNUmakefile )
Modified: src/pmdas/root/docker.c ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/root/docker.c )
Modified: src/pmdas/root/root.h ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/root/root.h )
Modified: src/pmns/stdpmid.pcp ( https://github.com/performancecopilot/pcp/blob/master/src/pmns/stdpmid.pcp )

[pcp:master] By Nathan Scott <[email protected]>:
feb2b9bd92c6 ( https://github.com/performancecopilot/pcp/commit/feb2b9bd92c6505a4226de8359d5b64ce965acca ) : docs: additional documentation for pmdamysql Document that pmdamysql can also export MariaDB metrics and if enabling is required (v10 onward default) then how to go about doing that. Also document some missing PMDA parameters, making the user account configurable too while there. Resolves github issue #273.

Modified: src/pmdas/mysql/pmdamysql.1 ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/mysql/pmdamysql.1 )
Modified: src/pmdas/mysql/pmdamysql.pl ( https://github.com/performancecopilot/pcp/blob/master/src/pmdas/mysql/pmdamysql.pl )

[pcp:master] By Nathan Scott <[email protected]>:
c5b80c7bd828 ( https://github.com/performancecopilot/pcp/commit/c5b80c7bd82886270563a78fa939c801e71d74bc ) : qt tools: update Mac OS X info files keys for highres displays As per notes from the Qt folk, here: http://blog.qt.io/blog/2013/04/25/retina-display-support-for-mac-os-ios-and-x11/ In particular, adding NSPrincipalClass, which will by default enable the optional NSHighResolutionCapable key as appropriate.

Modified: src/pmchart/pmchart.info.in ( https://github.com/performancecopilot/pcp/blob/master/src/pmchart/pmchart.info.in )
Modified: src/pmgadgets/pmgadgets.info.in ( https://github.com/performancecopilot/pcp/blob/master/src/pmgadgets/pmgadgets.info.in )
Modified: src/pmquery/pmquery.info.in ( https://github.com/performancecopilot/pcp/blob/master/src/pmquery/pmquery.info.in )
Modified: src/pmtime/pmtime.info.in ( https://github.com/performancecopilot/pcp/blob/master/src/pmtime/pmtime.info.in )
Modified: src/pmview/pmview.info.in ( https://github.com/performancecopilot/pcp/blob/master/src/pmview/pmview.info.in )

[pcp:master] By Nathan Scott <[email protected]>:
ae54f9fb2029 ( https://github.com/performancecopilot/pcp/commit/ae54f9fb20297ac0f294f33142496ecbe4290762 ) : Merge branch 'master' of git://git.pcp.io/kenj/pcp into kenj-merge

Added: qa/370.out.13 ( https://github.com/performancecopilot/pcp/blob/master/qa/370.out.13 )
Added: qa/sadist/sa-sysstat-11.2.0 ( https://github.com/performancecopilot/pcp/blob/master/qa/sadist/sa-sysstat-11.2.0 )
Modified: qa/1041 ( https://github.com/performancecopilot/pcp/blob/master/qa/1041 )
Modified: qa/359 ( https://github.com/performancecopilot/pcp/blob/master/qa/359 )
Modified: qa/370 ( https://github.com/performancecopilot/pcp/blob/master/qa/370 )
Modified: qa/870 ( https://github.com/performancecopilot/pcp/blob/master/qa/870 )
Modified: qa/994 ( https://github.com/performancecopilot/pcp/blob/master/qa/994 )
Modified: qa/999 ( https://github.com/performancecopilot/pcp/blob/master/qa/999 )
Modified: qa/common.check ( https://github.com/performancecopilot/pcp/blob/master/qa/common.check )
Modified: qa/group ( https://github.com/performancecopilot/pcp/blob/master/qa/group )
Modified: src/pmns/Rebuild ( https://github.com/performancecopilot/pcp/blob/master/src/pmns/Rebuild )



---

[pcp:master] Issue #273 Document MariaDB compatibility ( https://github.com/performancecopilot/pcp/issues/273 ) closed by hhorak ( https://github.com/hhorak ) .