cadvisor/metrics
Daniel Dao e5b6bfa94f add whitelisted env as container metadata
This add Envs to container spec as a metadata source. When using prometheus
exposition format, they will be merged into the list of metrics' labels.

Also changed the cli flag to docker_env_metadata_whitelist, and add refenrences
of whitelist envs to API

Signed-off-by: Daniel Dao <dqminh@cloudflare.com>
2016-01-13 11:22:13 +00:00
..
testdata add whitelisted env as container metadata 2016-01-13 11:22:13 +00:00
prometheus_test.go add whitelisted env as container metadata 2016-01-13 11:22:13 +00:00
prometheus.go add whitelisted env as container metadata 2016-01-13 11:22:13 +00:00