Attaches a request body that only became readable after the span's other
request attributes were set: the copy installFetchRequestBodyCapture
stashed for a fetch(new Request(...)) call. Does for that body what
enhanceSpanWithHttpRequestAttributes does for an init.body: GraphQL
operation tags, then the recorded (redacted, size-limited) body. Written
with Object.assign because span.setAttribute is a no-op once the span has
ended, which it usually has by the time the copy resolves.
Attaches a request body that only became readable after the span's other request attributes were set: the copy
installFetchRequestBodyCapturestashed for afetch(new Request(...))call. Does for that body whatenhanceSpanWithHttpRequestAttributesdoes for aninit.body: GraphQL operation tags, then the recorded (redacted, size-limited) body. Written with Object.assign because span.setAttribute is a no-op once the span has ended, which it usually has by the time the copy resolves.