title: Prometheus queries to get the cpu and memory request of only pods which are in running state
body: <p>In my kubernetes cluster I have some running pods and a bunch of more pods in "completed" state. I use the query, for eg.,
  <code>kube_pod_container_resource_requests_cpu_cores{namespace="default"}</code> to get the cpu request of the pods in the default namespace. This gives me the cpu request off ALL pods. However, what I want is ONLY the cpu request of the pods in "Running" state. Any idea how to achieve this? Thanks</p>