-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
StaleenhancementNew feature or requestNew feature or requestnever staleIssues marked with this label will be never staled and automatically removedIssues marked with this label will be never staled and automatically removedpriority:p3LowestLowestreceiver/k8sclusterwaiting-for:semantic-conventionsWaiting on something on semantic-conventions to be stabilizedWaiting on something on semantic-conventions to be stabilized
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:

aaylward-dd and dashpole
Metadata
Metadata
Assignees
Labels
StaleenhancementNew feature or requestNew feature or requestnever staleIssues marked with this label will be never staled and automatically removedIssues marked with this label will be never staled and automatically removedpriority:p3LowestLowestreceiver/k8sclusterwaiting-for:semantic-conventionsWaiting on something on semantic-conventions to be stabilizedWaiting on something on semantic-conventions to be stabilized