We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f159e34 commit c7784c3Copy full SHA for c7784c3
packages/otel/src/instrumentations/fetch.ts
@@ -123,7 +123,7 @@ export class FetchInstrumentation implements Instrumentation {
123
return tracer.withActiveSpan('fetch', async (span) => {
124
const request = new Request(resource, options)
125
this.annotateFromRequest(span, request)
126
- const response = await originalFetch(resource, options)
+ const response = await originalFetch(request, options)
127
this.annotateFromResponse(span, response)
128
return response
129
})
0 commit comments