Open
Description
Component(s)
receiver/k8scluster
Is your feature request related to a problem? Please describe.
I'd like to use phase label selector for k8s.pod.phase
metric. It is much more convinient and natural to use label filters.
Describe the solution you'd like
I would like to have phase=<Pending|Running|Succeeded|Failed|Unknown>
label for k8s.pod.phase metric to be able to use it in queries, like:
k8s.pod.phase{phase="Failed"}
Describe alternatives you've considered
No response
Additional context
Please note that phase is emited as label in https://github.com/kubernetes/kube-state-metrics/blob/main/docs/metrics/workload/pod-metrics.md
See: