How to find the status of a container using cadvisor and prometheus?

  cadvisor, docker, prometheus

enter image description here

I want to get status of a container using cadvisor and prometheus.
I know that I can get the created time using

time() - container_start_time_seconds{name="container_name"} 

Is there any method to find the status of a container?

Source: Docker Questions

LEAVE A COMMENT