'Azure App insight difference between response times HTTP & first dependency logged in the appservice

Recently we have been using appinsights to monitor our application response time between various parts of code as oppose to manual logging. But something I have been always been confused with is the metrics and results which are shown in each Transaction.enter image description here As we can see the highlighted area are various event timings.

There is always some lost time between Event time for when HTTP event logs and when it reaches to server dependency and the first DB call. The above example is just one of fastest ones I noticed but there are various slow ones where HTTP call to First DB hit in that services takes > 5seconds of delay.

Another slower example : enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source