stefanprodan / dockprom

Docker hosts and containers monitoring with Prometheus, Grafana, cAdvisor, NodeExporter and AlertManager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cadvisor not exposing up metrics for all running containers and services

avanichy25 opened this issue · comments

commented

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?

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"})

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