Hi! I have setup a VirtualService to inject faults to 50% of requests going to a given service. I would like to be able to determine which requests have been injected, for example with a header.
So far I’ve tried adding two destinations with 50% weight to a route and add headers to one of them, but then the fault applies to the whole route so it doesn’t help.
In addition I’ve looked at having multiple Routes, but the split can only be done with a match object, so probabilistic split isn’t possible.
Is there a way to do this with istio?
Thanks in advance!