sentry-javascript
sentry-javascript copied to clipboard
Capture outgoing HTTP request & response bodies with Node SDK
Problem Statement
Allow for outgoing HTTP request & response bodies to be added to breadcrumbs/spans.
Similar to work done in https://github.com/getsentry/sentry-javascript/pull/7287
Solution Brainstorm
NOT THE DEFAULT due to PII reasons
Should be gated by sendDefaultPii
This is a very important point. In many cases, the content of the body, both in the request and the response, is crucial to understanding the captured error
+1
+1 Or even just a backend response on certain circumstances (on error) would be great to understand what's going on.