<@U02SS3ZAMKQ> <@U04JNF6KQV8> Is there any query o...
# support
s
@Prashant Shahi @Shrikanth ND Is there any query or metrics to check the number of pods in pending/faliure in k8s. Actually k8s pods phase. one metrics is there but that one os not giving pods phases.
p
Hey @sudhanshu dev, You can use
k8s.pod.phase
metrics in combination with
HAVING
of query builder. Current phase of the pod: • 1 - Pending • 2 - Running • 3 - Succeeded • 4 - Failed • 5 - Unknown The query below in the screenshot is used to list all succeeded pods. Replace
3
with
1
and
4
for pending and failed pods respectively.
s
cool
thanks
in which table this data is storing
?
if u could tell me
p
are you trying to use CH query for that?
s
Just for knowledge
If we wants to get more details
p
Under
signoz_metrics
database, you should find tables with time series and samples metrics data.