Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image name to container spec & prometheus metrics #869

Merged
merged 1 commit into from
Aug 28, 2015

Conversation

jimmidyson
Copy link
Collaborator

Fixes #848

As discussed in #780 (comment), this just exports the image name as this has most immediate value. We can discuss docker labels separately perhaps?

@cadvisorJenkinsBot
Copy link
Collaborator

Can one of the admins verify this patch?

@rjnagal
Copy link
Contributor

rjnagal commented Aug 28, 2015

LGTM

Thanks @jimmidyson We already expose labels. The only remaining discussion is around env variables, which I am still not convinced is safe to do.

rjnagal added a commit that referenced this pull request Aug 28, 2015
Add image name to container spec & prometheus metrics
@rjnagal rjnagal merged commit 4445152 into google:master Aug 28, 2015
@jimmidyson
Copy link
Collaborator Author

Thanks!

Agree on env vars - dangerous considering they're used for generated passwords, secret data, etc.

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.

3 participants