pcp updates: pmdadocker
"Lukas Berk" <[email protected]>
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
Hey All,
If I could get a review on my pmdadocker branch it'd be most
appreciated. More qa needs to be added with a fake http request/reply
but the jist of the pmda is there.
Changes committed to git://git.pcp.io/lberk/pcp.git pmdadocker
Lukas Berk (1):
pmdadocker: metrics via docker's remote api
qa/924 | 41 +
qa/924.out | 10
qa/group | 2
src/include/pcp/pmjson.h | 1
src/libpcp_web/src/exports | 5
src/libpcp_web/src/http_client.c | 33 -
src/libpcp_web/src/http_parser.h | 3
src/libpcp_web/src/json_helpers.c | 84 +++
src/pmdas/GNUmakefile | 2
src/pmdas/docker/GNUmakefile | 67 ++
src/pmdas/docker/Install | 27 +
src/pmdas/docker/Remove | 38 +
src/pmdas/docker/docker.c | 1004 ++++++++++++++++++++++++++++++++++++++
src/pmdas/docker/domain.h | 4
src/pmdas/docker/help | 37 +
src/pmdas/docker/pmns | 106 ++++
src/pmdas/docker/root | 9
src/pmns/stdpmid.pcp | 1
18 files changed, 1464 insertions(+), 10 deletions(-)
Details ...
commit 4b10412e65663840aeed0302d859ad50074c8de5
Author: Lukas Berk <[email protected]>
Date: Mon Jul 25 17:11:18 2016 -0400
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
-=-=-=-=-=-=-=-=-=-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Groups.io Links:
You receive all messages sent to this group.
View/Reply Online (#14879): https://groups.io/g/pcp/message/14879
View All Messages In Topic (1): https://groups.io/g/pcp/topic/3780835
Mute This Topic: https://groups.io/mt/3780835?uid=174580
New Topic: https://groups.io/g/pcp/post
Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580
Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]
Terms of Service: https://groups.io/static/tos
Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-