OK Let's say I have a custom application which uses traces to audit SQL and I have 2 AGs per one server instance. There are 3 instances.
I have to distinct the traces for this two different AGs and save in different places.
I have to trace for every server and not for certain AG because if it fails over other server everything is lost and tracing lIstener occurs only on primary replica.
Please give me advice how to distinct it. Also please redirect this topic to specific forum if it is not applicable for the current one.
Regards