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

cadvisor not exposing up metrics for all running containers and services #214

Closed
avanichy25 opened this issue Jan 26, 2021 · 2 comments
Closed

Comments

@avanichy25
Copy link

Hello All,

I am running docker-compose setup and using cadvisor to expose the container metrics but I don't see UP metrics is being written for all the containers.

Can you help?

@nightah
Copy link
Collaborator

nightah commented Jan 28, 2021

Can you explain what you mean by UP metrics for containers?

https://github.com/google/cadvisor/blob/master/docs/storage/prometheus.md

Here's a list of all the cadvisor metrics that are written out, my advice would be if you want to check whether a container is up or down to check whether there is any memory in use like we have set in our alertmanager rules:

absent(container_memory_usage_bytes{name="jenkins"})

@nightah
Copy link
Collaborator

nightah commented Mar 28, 2021

Closing this issue due to inactivity if you still have a problem please request this to be reopened and respond to the question above.

@nightah nightah closed this as completed Mar 28, 2021
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

No branches or pull requests

2 participants