Hello!

I have kubernetes cluster and an external Alertmanager (see the screenshot 
in the attachment).
there are several namespaces in the cluster.
I only need to process alerts from one - " Namespace-2"
alerts from other namespaces are useless and can be ignored

Please advise the method (if any), how it can be implemented

Notes:
1) I tried to implement using inhibit_rules,

inhibit_rules:
  - target_match_re:
      namespace: "^((?!namespace-2).)*$"


but encountered this error
 FAILED: error parsing regexp: invalid or unsupported Perl syntax: `(?!`

2) I tried implementing it at the routing level, but there is no 
configuration of matchers for defaultReceiver. I need the default receiver 
to receive alerts only from namespace-2


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/3c30a6e5-820a-400a-93a3-387fbe845bfao%40googlegroups.com.

Reply via email to