swarmprom icon indicating copy to clipboard operation
swarmprom copied to clipboard

Monitoring Container Restarts?

Open geekdave opened this issue 6 years ago • 1 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?

geekdave avatar Oct 05 '18 20:10 geekdave

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

geekdave avatar Oct 05 '18 20:10 geekdave