[receiver/k8scluster] Add phase datapoint attribute for k8s.pod.phase metric #36819
Labels
enhancement
New feature or request
receiver/k8scluster
waiting-for:semantic-conventions
Waiting on something on semantic-conventions to be stabilized
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:
The text was updated successfully, but these errors were encountered: