Open rky0930 opened 4 years ago
I had a similar problem
--include='{__name__!~"cadvisor_.+"}
didn't actually work
Got errors like
parse error at char 19: vector selector must contain at least one non-empty matcher
Had to move negation into the regexp instead like that --include='{__name__=~"^cadvisor_.+"}
Is there a way to use an operator in a filter? I want to send only metric with value greater than 0 to stackdriver. ex) PromQL: {name="kube_pod_status_phase", namespace="kubeflow", phase=~"Pending|Failed"} >0
When I run it on a filter, I get the following error: