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

wrangler 3.7 gives error: [ Could not resolve "node:async_hooks" ] #49

Closed alexdoan102 closed 9 months ago

alexdoan102 commented 10 months ago

for wrangler 3.7, and the wrangler.toml values are:

compatibility_date = "2023-08-21" node_compat = true

image

alexdoan102 commented 10 months ago

nvm...this i needed to use the other compatibility_flags = [ "nodejs_compat" ]

evanderkoogh commented 9 months ago

Need to make this more clear in the documentation :)

alexdoan102 commented 9 months ago

@evanderkoogh this still does not work. (the fetch is not being called at all)

image