stefanprodan / swarmprom

Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monitoring Container Restarts?

geekdave opened this issue · comments

Hey, thanks for this project! Looking into swarm health checks on containers, which will restart the container if health check fails. But when this happens I'd like to track it with Prometheus so that I can spot trends in unstable containers. Is there any way to do this?

I found that there is a "failed health checks" metric. I guess I can assume that this should correlate with restarts?