Using Istio
Last updated
Last updated
In this guide, we will create for our external HyperTest logger service and mirror traffic to it using .
Create a new Service Entry for HyperTest logger
Add route rule in Virtual Service to mirror traffic to it
Here we are creating a new Service Entry for Hypertest. The hosts can be anything here as we have used resolution as STATIC so it will use endpoint address.
Create the ServiceEntry using the below command:
Now we will add mirror route rule in application's virtual service and point it to host defined in service entry.
Update your application's Virtual Service by the follwoing command:
To Verify the mirroring setup, hit any api on the application and check for request in "last mirrored requests" section or Session page in HyperTest.