<p>I am trying to migrate a dashboard which shows the count of Readiness and Liveness Probe Failures, from Kibana(ElasticSearch) to a Grafana Dashboard(Sauron). In kibana the we can get both the probe failures separately using <code>kubernetes.event.message : Liveness probe failed</code> for Liveness failure and similar event message for Readiness, but in Sauron or Thanos (which acts as the datasource for Grafana) k8's event messages are not picked up. So I am unable to find a suitable promQL which will give me the count of both the probe failures individually.</p>
<p>The closest promQL I have found is <code>kube_event_count{reason=&quot;Unhealthy&quot;}</code> which is giving me the sum of the count of both the probe failures. I need the count of the probe failures individually. Another promQL that I have tried is <code>kube_pod_container_status_ready</code> which probably gives the readiness status of the containers but I am not sure about it.</p>

Soumik Laik
<p>The following two queries will do the trick for you:</p>
<pre><code>prober_probe_total{probe_type=&quot;Readiness&quot;,result=&quot;failed&quot;}
</code></pre>
<pre><code>prober_probe_total{probe_type=&quot;Liveness&quot;,result=&quot;failed&quot;}
</code></pre>
