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

🐛[RUMF-1465] fix missing data when fetch instrumented by zone.js #1942

Merged
merged 3 commits into from
Jan 20, 2023

Conversation

bcaudan
Copy link
Contributor

@bcaudan bcaudan commented Jan 11, 2023

Motivation

Some telemetry errors related to fetch response body being already used have been observed.
After investigations, it seems related to a wrong zone.js behaviour.

Changes

Avoid to clone response if bodyUsed property is true.

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@bcaudan bcaudan requested a review from a team as a code owner January 11, 2023 17:47
@bcaudan bcaudan changed the title 🐛[RUMF-1465] fix missing data when fetch already instrumented 🐛[RUMF-1465] fix missing data when fetch instrumented by zone.js Jan 18, 2023
@bcaudan bcaudan merged commit e657ada into main Jan 20, 2023
@bcaudan bcaudan deleted the bcaudan/body-telemetry branch January 20, 2023 13:06
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.

2 participants