Track how much time the client (Angular) call is taking to hit the API controller
I want to create a performance tool to track the time taking to the reach the call to API controller and then to the different layers of application and DB.
When I am using the UTC datetime, faced an issue. The server UTC time is 5 seconds less than client UTC time (both client and server are in same time zone)
eg : Request sent at 07:10:05 AM and it reached at 07:10:01.
So, if the server time is not correct, taking UTC time also will give wrong time.right?
Is there any other ideas to implement this requirement?
Comments
Post a Comment