docker-resource-reporter icon indicating copy to clipboard operation
docker-resource-reporter copied to clipboard

[Suggestion]: UI

Open prologic opened this issue 10 years ago • 6 comments

I wouldn't go to all the effort of writing a UI.

Instead integrate this with InfluxDB and Grafana.

Perhaps include instructions for how to do so or build a Dockerfile/image hosted on the Docker Hub where one can "docker run" and get nice stats/graphs for their containers (probably have to bind mount /var/run/docker.sock).

prologic avatar Dec 10 '14 21:12 prologic

Thanks for the suggestion however I believe Grafana is a client side application only, so I must expose InfluxDB ports to public, do you know anyway to overcome this? Grafana looks really good

mustafaakin avatar Dec 11 '14 23:12 mustafaakin

I'd probably just provide a "means" to get the necessary data into InfluxDB and leave it as an exercise for the user to setup InfluxDB+Grapfana and point the script(s) to their instance(s).

prologic avatar Dec 11 '14 23:12 prologic

You may refer to https://github.com/google/cadvisor.

tobegit3hub avatar Dec 12 '14 02:12 tobegit3hub

cadvisor is nice but is a complete solution and competed with docker-resource-reporter :)

I think I'd like to see docker-resource-repoter become a tool to actually shove data into round robin databases like InfluxDB, etc.

prologic avatar Dec 12 '14 03:12 prologic

Yeah cadvisor seems pretty solid, I remember playing with it but completely forgot it. I actually needed this for my job scheduling research for multi-hosts, but I can transform it as a tool to report it to InfluxDB as well Graphite and maybe others. I am really open to pull requests, suggestions or maybe another contributors, so don't hesitate :)

mustafaakin avatar Dec 12 '14 20:12 mustafaakin

If you guys want to collect metrics from cgroups, how about making it easier with command docker metrics. Refer to https://github.com/docker/docker/pull/8886, it would be great for any tools or command-line operations to get the metrics of docker containers.

tobegit3hub avatar Dec 15 '14 04:12 tobegit3hub