ApplicationInsights-Java icon indicating copy to clipboard operation
ApplicationInsights-Java copied to clipboard

Request not present in application insights when it got cancelled

Open xsmrcek opened this issue 1 year ago • 4 comments

Hello, when my application is called and request is cancelled (due to up stream timeout), canceled request is not present in application insights, which leads to dependency calls not linked to any request or trace and it makes log really hard to read.

To simulate this behavior you can use application https://github.com/xsmrcek/minimal-example there is /sample endpoint with loop, so there is plenty of time to cancel requests (from postman for example). I did my testing with agent version 3.4.1 and 3.4.4.

image

xsmrcek avatar May 15 '23 14:05 xsmrcek