Hello Prometheus community, Could you please help me about a I doubt I have 
in the realabeling usage, I am trying to do an not equal rule to change the 
path of one value for example I have the following information object 
labels:


*__name__: "istio_requests_total"request_path: "/bad1"*

and I what I am trying is to replace if the request_path is distinct to 
good1 or good2 to change to /dummy path.

Here is my relabeling rule:





*- source_labels: [__name__,request_path]  regex: 
istio_requests_total;^.(/good1|/good2)  action: replace  replacement: 
/dummy  target_label: request_path*


This rule doesn’t seems to work and I don’t know if it is a way to say for 
example if not equal too good1 or good2 change the path /dummy.

Thank you all for your help.


-- 
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/f2f052d7-eeff-4780-83e7-4740aaa233cen%40googlegroups.com.

Reply via email to