I'm looking for a Prometheus metric that would allow me to monitor the time pods spend in the terminating
state before vanishing into the void.
I've tried playing around with kube_pod_container_status_terminated
but it only seems to register pods once they finish the termination process, but don't help me understand how long does it take to terminate a pod.
I've also looked at kube_pod_status_phase
which I found out about in this channel a while ago but it also seems to lack this insight.
I'm currently collecting metrics on my k8s workload using cAdvisor, kube-state-metrics and the prometheus node-exporter, but would happily considering additional collectors if they contain the desired data.
A non-prometheus solution would also be great.
Any ideas? Thanks!