Skip to content
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

fix: Started Supporting response.writableEnded in transaction's context. #3430

Merged
merged 3 commits into from
Jul 6, 2023
Merged

fix: Started Supporting response.writableEnded in transaction's context. #3430

merged 3 commits into from
Jul 6, 2023

Conversation

thesixpathguy
Copy link
Contributor

Since response.finished property is deprecated as of the newer node versions and another property i.e. response.writableEnded is currently used in place of it. So started supporting the response.writableEnded in transaction's context. Also, the change is backward compatible as the response.finished is not removed yet.
Fixes: #3428

Checklist

Since response.finished property is deprecated as of the newer node versions and another property i.e. response.writableEnded is currently used in place of it. So started supporting reponse.writableEnded in transcation's context. Also, the change is backward compatible as the respone.finished is not removed yet.
Fixes: #3428
@github-actions github-actions bot added agent-nodejs Make available for APM Agents project planning. community triage labels Jun 14, 2023
@david-luna david-luna removed the triage label Jun 19, 2023
@david-luna david-luna self-requested a review June 19, 2023 14:19
Co-authored-by: David Luna <david.luna@elastic.co>
@thesixpathguy thesixpathguy requested a review from david-luna June 20, 2023 08:28
Co-authored-by: David Luna <david.luna@elastic.co>
@thesixpathguy thesixpathguy requested a review from david-luna July 5, 2023 10:30
Copy link
Member

@david-luna david-luna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elasticmachine, run elasticsearch-ci/docs

@david-luna david-luna self-requested a review July 6, 2023 15:13
@david-luna
Copy link
Member

@elasticmachine, run elasticsearch-ci/docs

@david-luna david-luna merged commit d62dfde into elastic:main Jul 6, 2023
PeterEinberger pushed a commit to fpm-git/apm-agent-nodejs that referenced this pull request Aug 20, 2024
elastic#3430)

* fix: Start supporting response.writableEnded in transaction's context.

Since response.finished property is deprecated as of the newer node versions and another property i.e. response.writableEnded is currently used in place of it. So start supporting reponse.writableEnded in transcation's context. Also, the change is backward compatible as the respone.finished is not removed yet.
Fixes: elastic#3428
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-nodejs Make available for APM Agents project planning. community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start supporting response.writableEnded in transaction's context
2 participants