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 http client integration always setting the error flag #1956

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

rochdev
Copy link
Member

@rochdev rochdev commented Apr 1, 2022

What does this PR do?

Fix http client integration always setting the error flag.

Motivation

The async-end event was published multiple times, which resulted in the error flag being updated by the close handler which normally means there was an error when no other event was received first.

Fixes #1953

@rochdev rochdev added bug Something isn't working integrations labels Apr 1, 2022
@rochdev rochdev added this to the 2.4.2 milestone Apr 1, 2022
@rochdev rochdev requested a review from a team as a code owner April 1, 2022 15:26
@rochdev rochdev merged commit 24896ed into master Apr 4, 2022
@rochdev rochdev deleted the fix-http-always-error branch April 4, 2022 20:25
@bcomnes
Copy link

bcomnes commented May 23, 2022

Still seeing something similar for HEAD requests in spans (all are marked as errors, even though they did not encounter errors). Would this fix that?

EDIT: opened an issue #2089

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

http plugin mark all http.request spans as error
3 participants