-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Set docker container name and meta data as prometheus labels #688
Comments
yes please! I need to be able to differentiate containers as I don't name them and docker labels seems to be the best way to do it 😄 |
+1 here. |
Think docker container name & labels are now in the prometheus exposed metrics. Can this be closed? |
Awesome, then it can be closed! |
I have some docker envs which need to inject as prom labels, how to achieve that goal? |
I have been checked the source code, and found that cadvisor will set some default labels, and envs are already exist. BTW, I also found that there is a I cannot find any documentation about this, and I also suggest |
cadvisor supports exposing metrics for prometheus consumption. Right now it only sets the container ID as a label but it would be useful to also set the container name and potential meta data[1] as labels.
The text was updated successfully, but these errors were encountered: