Internal as in how does Cloudflare do it, or the community?
Internal as in how does Cloudflare do it, or the community?

Date.now is never updated.Date.now inside the worker is not accurate.
WorkerCPUTime and WorkerWallTimeUsTimestampMs for every item inside the Logs array wall-clock time or is it based on the same time performance.now/Date.now use?writeDataPoint, I would expect it to insert data with a correct timestamp. 


nodejs_compat relies on them using the node: prefix when importing & node_compat are just best-effort polyfills.> 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"