Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Per Container Metrics not availble #135
Comments
|
@sattishv can you give us more details? You have no data in the |
sattishv
commented
Aug 18, 2016
|
Hi Martin, Thanks for the response. Yes, when we open Per container graphs it displays "No Data Available" Sattish. |
|
Can you share your request/response from the |
sattishv
commented
Aug 18, 2016
|
I am not sure on how to get the req/res will search for the _fetch request and let u know, we dont get the container ids its shows only ALL |
|
If you're on Chrome, just open the developer console and go to the |
sattishv
commented
Aug 18, 2016
|
Hi , I could see series of fetch requests. Have listed the request headers for one of the request.Let me know if you any other details GET /pmapi/1921743143/_fetch?names=containers.cgroup,containers.name,kernel.all.cpu.sys,kernel.all.cpu.user,hinv.ncpu,kernel.percpu.cpu.sys,kernel.percpu.cpu.user,kernel.all.runnable,kernel.all.load,network.interface.in.bytes,network.interface.out.bytes,network.tcpconn.established,network.tcpconn.time_wait,network.tcpconn.close_wait,network.interface.in.packets,network.interface.out.packets,network.tcp.retranssegs,network.tcp.timeouts,network.tcp.listendrops,network.tcp.fastretrans,network.tcp.slowstartretrans,network.tcp.syncretrans,mem.util.cached,mem.util.used,mem.util.free,mem.util.bufmem,mem.vmstat.pgfault,mem.vmstat.pgmajfault,kernel.all.pswitch,disk.dev.read,disk.dev.write,disk.dev.read_bytes,disk.dev.write_bytes,disk.dev.avactive,disk.dev.read_rawactive,disk.dev.write_rawactive,cgroup.cpuacct.usage,cgroup.blkio.all.throttle.io_serviced.read,cgroup.blkio.all.throttle.io_serviced.write,cgroup.memory.usage,cgroup.cpusched.shares,cgroup.cpusched.periods HTTP/1.1 |
|
The response is what I mostly interested in. |
sattishv
commented
Aug 18, 2016
|
Hi {"timestamp":{"s":1471562912,"us":736254 }, "values":[{"pmid":251658262,"name":"kernel.all.cpu.sys","instances":[ Thanks |
|
It looks like the response is missing |
|
According to @sattishv
Since Vector checks if a container is in that list before adding it to the graphs, ( @natoscott Looks like a similar issue to the one we had migrating from 1.9 to 1.10. Should I open a issue for PCP? |
spiermar
closed this
Aug 19, 2016
spiermar
reopened this
Aug 19, 2016
sattishv
commented
Aug 22, 2016
|
Hi Martin, Were you able to get any update from PCP team on this. Sattish. |
lberk
commented
Aug 25, 2016
•
|
Just checked with docker v1.12 here (and pminfo -f containers works for me), what version of PCP is being used on that host? |
|
1.11.2-cs3 according to Sattish.
On Thu, Aug 25, 2016 at 9:23 AM, Lukas Berk notifications@github.com
|
lberk
commented
Aug 25, 2016
|
@spiermar I'm not familiar with PCP version 1.11.2-cs3 however the config.v2.json fix that you were alluding to earlier is in pcp-3.11.2 and later. |
|
I mean Docker 1.11.
On Thu, Aug 25, 2016 at 10:43 AM, Lukas Berk notifications@github.com
|
sattishv
commented
Aug 30, 2016
|
Hi martin, Sure will check and let you know soon Thanks On Tue, Aug 30, 2016 at 9:26 AM, Martin Spier notifications@github.com
with regards, Sattish |
|
Assuming this was solved. Closing the issue. |
sattishv commentedAug 18, 2016
Hi team,
We weren't able to view the per container metrics through Vector. Do we need to install any modules inside the container to get those metrics. We could see only the Total Container Memory usage not per container measures.
Our current installation has pcp installed on the host system and configured pmwebd as a simple HTTP file server, in order to server Vector itself to a web browser. Could you please review and let us know.
Vector Version: v1.1.0-3-gc851eac
Thanks
Sattish.