Remove the outer double quotes for the =~ version as well.

It works for me.  For example, if I have a silence with
"matchers":[{"isEqual":true,"isRegex":true,"name":"instance","value":"r[1-8]"}, 
...

then I can see it using either:
curl -g 'http://localhost:9093/api/v2/silences?filter=instance=~r[1-8]'
or
curl -g 'http://localhost:9093/api/v2/silences?filter=instance=~"r[1-8]";'

-- 
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/35088c92-fa0b-4146-a136-453af7916d73n%40googlegroups.com.

Reply via email to