instana / weasel

Gather end-user browser performance data
https://www.instana.com
MIT License
40 stars 5 forks source link

Keep original method signature in instrumentation of fetch API #111

Closed zhouhn-ibm closed 1 year ago

zhouhn-ibm commented 1 year ago

WHY: During instrumentation of Fetch API, weasel changes the method signature and causes request body to be opaque. It would be a problem when weasel co-exists with other libs which also instrument Fetch API.

WHAT: Update the instrumentation to use the original method signature.