pod's completion time metric

47 views
Skip to first unread message

shirley

unread,
Oct 27, 2022, 5:22:47 AM10/27/22
to Prometheus Users
Hello,
I'm using openshift 4.8 and I want to see the completion time of my pods. I read that kube-state-metrics could help me, but the metric I need (kube_pod_completion_time) is no longer available.
One of the suggestions I found is to use the equivalent metric kube_job_status_completion_time. However, I am not able to use this metric since most of my pods are not created from a croneJob/job.

Can you give me some ideas and help me understand how to present the completion time of pods?

Thank in advance,
Shirley 


Reply all
Reply to author
Forward
0 new messages