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: use interceptReadableStream + decouple getHyperDXHTTPInstrumentationConfig #75

Merged
merged 12 commits into from
Dec 19, 2023

Conversation

wrn14897
Copy link
Contributor

@wrn14897 wrn14897 commented Dec 16, 2023

Try to fix ticket hyperdxio/hyperdx#24.

Root cause:
When the downstream lib registers the listener in a separate event cycle, the SDK PassThrough interceptor will fire the 'data.on' event ahead, which leads the data to be dropped in downstream.

Copy link

changeset-bot bot commented Dec 16, 2023

🦋 Changeset detected

Latest commit: 209e06e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@hyperdx/node-opentelemetry Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@wrn14897 wrn14897 changed the title fix: use interceptReadableStream + decouple getHyperDXHTTPInstrumentationConfig (WIP) fix: use interceptReadableStream + decouple getHyperDXHTTPInstrumentationConfig Dec 16, 2023
@wrn14897 wrn14897 changed the title (WIP) fix: use interceptReadableStream + decouple getHyperDXHTTPInstrumentationConfig fix: use interceptReadableStream + decouple getHyperDXHTTPInstrumentationConfig Dec 18, 2023
@wrn14897 wrn14897 merged commit 610e003 into main Dec 19, 2023
1 check passed
@wrn14897 wrn14897 deleted the warren/fix-http-readable-stream-capture-bug branch December 19, 2023 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant