Suppose I write a basic PromQL query like this
Query:
kube_deployment_spec_replicas{}
Result:
kube_deployment_spec_replicas{deployment="mydeployment",endpoint="myendpoint",instance="myinstance",job="myjob",namespace="default",pod="mypod",service="myservice"}
Is there a clean way to omit instance
and pod
from the resulted timeseries?
Desired:
kube_deployment_spec_replicas{deployment="mydeployment",endpoint="myendpoint",job="myjob",namespace="default",service="myservice"}