There must be some way to gather metrics inside of a worker reliably.
There must be some way to gather metrics inside of a worker reliably.



nodejs_compat relies on them using the node: prefix when importing & node_compat are just best-effort polyfills.zstd compression locally.zstd decompression when uploading my project's code to the hosted v8 isolate?
> Using @sveltejs/adapter-cloudflare
Starting mongo...
✘ [ERROR] Could not resolve "dns"
node_modules/.pnpm/mongodb@6.3.0/node_modules/mongodb/lib/sdam/srv_polling.js:4:20:
4 │ const dns = require("dns");
╵ ~~~~~
The package "dns" wasn't found on the file system but is built into node. Are you trying to bundle
for node? You can use "platform: 'node'" to do that, which will remove this error.
✘ [ERROR] Could not resolve "stream"nodejs_compatnode:node_compatexport default {
fetch()
scheduled()
queue()
}zstdzstdnew Response(response.body, { headers: {} })