-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AI doesn't _seem_ to properly honor the response 'aborted' event #550
Comments
Since this is the case, this is probably a bug on our end. I'll take a look and get it in to the next release, if so. Just curious, how would you expect the telemetry to look like on your end for an aborted event? Would it be similar how we are handling the If an abort event occurs, I'm assuming neither the |
@markwolff Thanks for the feedback!
From an logAnalytics standpoint, I'd very much like the dependency to not be reported with
That would seem like a good fit: no resultCode, success=false, and a customDimensions.error property. I wonder if adding to
It looks like so. Sorry, I haven't locally repro'd the issue in a dev environment. I went straight from the LogInsights results to AInode.sdk in order to understand how the telemetry was processed. |
@markwolff Hey! Has this been triaged yet? |
@markwolff Hello again 😄 Any news on that topic? |
@markwolff Hello. Any feedback? |
Hi @nulltoken I've stubbed out a PR for this, but I haven't had the cycles to create an environment where an |
@markwolff Thanks for getting back. Unfortunately, I haven't any repro at hand. As described in the initial comment this has been discovered by analyzing logs and reading the code of AInode.js. |
@markwolff How should we proceed in order to move further? |
@markwolff Kind bump? |
@hectorhdzg It looks like @markwolff is not answering. Would you know someone that could help moving this forward? |
@nulltoken sorry about the delay, we do have this item in our backlog and also there is is similar issue #741 raised recently, we will include this work in our next iteration, we need to sync with other SDKs to determine what is the correct way to set the dependency in this case and hopefully is a simple change in our side |
@hectorhdzg Thanks a lot for the feedback! |
Hello,
We're seeing some intermittent issues from one of our dependencies.
It's reported as an exception in LogAnalytics by @hapijs/wreck that complains that "Payload stream closed prematurely".
that
aborted
is emitted when the socket is prematurely closed.However, the dependency is reported as a successful call by AI. Which is... well... surprising ;-)
It's entirely possible that I'm reading the code wrong, but I can't find any place where the code subscribes to that event.
Thoughts?
ApplicationInsights-node.js/AutoCollection/HttpDependencies.ts
Lines 182 to 206 in c8fa5b8
The text was updated successfully, but these errors were encountered: