Skip to content

Conversation

@jamtur01
Copy link

Labels are Docker's way of adding custom metadata to containers and images. They can be applied at image build or at runtime. They are exposed via the Docker API in the containers call.

This PR adds those labels to container as container['Labels']. They are then parsed and appended to the plugin_instance value, for example:

:plugin_instance redis[app2.test=bob,application.test.test.test=tornado]

Given that collectd only has a 64 character limit for values this isn't ideal but is a fast way to allow us to expose a Docker container's metadata.

@jamtur01 jamtur01 force-pushed the labels branch 4 times, most recently from 06c839c to d257b89 Compare March 15, 2016 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant