Skip to content

Conversation

@wrn14897
Copy link
Member

@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.

@changeset-bot
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
@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.

1 participant