Get Liveness Probe failure count in last 1hour

53 views
Skip to first unread message

Kartik Sareen

unread,
May 21, 2024, 2:29:18 AM5/21/24
to Prometheus Users
Hi,

Wanted to get sum of Liveness probe failure count of all pods in a deployment.
so have you used the following query but need to exclude the count of failure in first 10mins if new pod starts. Is there any way to do that in following query. Can someone pls help? 

sum(
increase(prober_probe_total{probe_type='Liveness', result='failed', pod=~'test-deployment-.*'}[60m])
)



Thanks 
Kartik
Reply all
Reply to author
Forward
0 new messages