Hello,

I’m facing an issue where I can’t properly save a metric;
Inside a k8s cluster I have a rule inside a *servicemonitor.yaml* file that 
drops any metric coming from namespaces that match a specific regex, 
something like:
* - sourceLabels: [namespace] **  regex: z{3,6} **  action: drop* 

this works, but now I have to implement a way to save a single metric, 
specifically *kube_namespace_created* before dropping all the others, only 
for those namespace that match the regex.

Can someone give me an heads up? Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/49885948-0c2d-4e8e-9149-81760416527bn%40googlegroups.com.

Reply via email to