Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Request not present in application insights when it got cancelled

Open
#3,076 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, java
Domain
observability

Research direction

Reproduce the issue with the linked minimal-example application, using its /sample endpoint and cancelling the request after it starts. Then trace how cancelled requests are recorded and how dependency calls are correlated in the Java agent. Done means the cancelled request appears in Application Insights and its dependency calls remain linked to the request or trace.

Written by the indexing model from the issue text.

Description

Needs: Attention :wave:

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

Dominant language
Java
Stars
327
Forks
222
Avg merge
22h 34m
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/ApplicationInsights-Java

All issues in microsoft/ApplicationInsights-Java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.