Using the .Net agent I can check the time spent with database access. But, nowadays my database are placed in a different server that my application, and I want to know if there is some way to separate the time really spend with the transaction and the network latency time.
In distributed transactions I look the difference between the start time of the span created in the API that made the request and the start time of the transaction that received the request, this difference I consider latency, but I have no idea about how do this with database access.
I appreciate if someone could help me.