librato / librato-collectd-docker

Collectd plugin for Docker cgroup metrics
MIT License
9 stars 7 forks source link

Global info stats #9

Closed chancefeick closed 8 years ago

chancefeick commented 8 years ago

Reduce sources for librato.docker.containers.* and librato.docker.images.* metrics by submitting global /info stats with hostname as source instead of hostname.container_id. Addresses https://github.com/librato/librato-collectd-docker/pull/7#issuecomment-190489499. Hack removes optional plugin_instance when container_id is not required for the source.

docker

obfuscurity commented 8 years ago

Nice refactor. I'll test this out in a bit and make sure there are no creeping memory bloat issues.