evanderkoogh / otel-cf-workers

An OpenTelemetry compatible library for instrumenting and exporting traces for Cloudflare Workers
BSD 3-Clause "New" or "Revised" License
208 stars 39 forks source link

Export unwrapped global fetch #124

Closed DaniFoldi closed 2 months ago

DaniFoldi commented 2 months ago

Fixes #79

What this PR solves / how to test:

I recently ran into a somewhat similar situation as @code-hex where instrumenting a fetch caused all sorts of issues. For some cases, an uninstrumented fetch may be the only solution, so here's a PR exposing it as part of our API.

ShravanSunder commented 2 months ago

related to https://github.com/evanderkoogh/otel-cf-workers/issues/126

Would be amazing to have this soon!