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.
Reduce sources for
librato.docker.containers.*
andlibrato.docker.images.*
metrics by submitting global/info
stats withhostname
as source instead ofhostname.container_id
. Addresses https://github.com/librato/librato-collectd-docker/pull/7#issuecomment-190489499. Hack removes optionalplugin_instance
whencontainer_id
is not required for the source.