Re: unprivileged collection on containers
"Nathan Scott" <[email protected]> Fri, 10 Feb 2017 01:48:24 -0500 (EST)
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
----- Original Message ----- > ----- Original Message ----- > > > > In online-hosted land, there is sometimes a need to collect data from > > within a container about processes in itself and (as much as visible) > > about the host. > > [...] > > In terms of PCP community relevance though, I'd say (assuming Mark/anyone > else sees no issues) we could add a "pcp-standalone" container into our > current set, separating out PCP related configuration from the Apache stuff > in the Dockerfile attached, adding Parfait and UoM for some examples beyond > Apache, and that could be shipped on bintray... thoughts Mark? > This is now available in the master git branch - please read the Dockerfiles in particular, which have notes at the head of each as to how they get built, configured, run and metrics inspected (more docs needed, and some further rpm packaging cleanup too - next week). I extended the Apache example to also export apache.* metrics via pmdaapache. https://github.com/performancecopilot/pcp/blob/master/build/containers/pcp-apache Likewise Nginx was added as another self-contained example container, and the nginx.* metrics are available there alongside proc.*, network.*, and so on. https://github.com/performancecopilot/pcp/blob/master/build/containers/pcp-nginx Finally, a pcp-java-app container has been added which runs a Java application as a service in the container, instrumented with Parfait, and alongside pmcd & pmdammv (so proc.*, network.*, mmv.* of particular interest). https://github.com/performancecopilot/pcp/blob/master/build/containers/pcp-java-app They all work quite nicely, with no PCP code changes needed as hoped. Enjoy! cheers. -- Nathan -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#15111): https://groups.io/g/pcp/message/15111 View All Messages In Topic (6): https://groups.io/g/pcp/topic/4296923 Mute This Topic: https://groups.io/mt/4296923?uid=174580 New Topic: https://groups.io/g/pcp/post -=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- 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 -=-=-=-=-=-=-=-=-=-=-=-