Hi All

seeks assistance for.a syntax to modify or string manipulate the label 
value before query execution
Current
    devicelist=abc1,xyz1, lmn1
    rate(test_gauge{job="xyz" hostname="${devicelist:pipe}"})

 intended modification is to update the hostnames from abc1,xyz1, lmn2 to 
abc2,xyz2, lmn2. Is there an option to modify the query? I tried with 
label_replace function and played with regex but no luck
  any help is appreciated


-- 
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/4868b362-c50e-4ec0-b6de-bff874806b30n%40googlegroups.com.

Reply via email to