otel-cf-workers
otel-cf-workers copied to clipboard
`Promise will never complete` when instrumenting worker
We have a pretty complex cloudflare worker that we recently added instrumentation to with otel-cf-workers
. The library has worked like a dream, providing extra insight into our requests. However, when we enabled the library, we noticed an uptick in errors from Cloudflare, with the error message Promise will never complete
. This seems to happen on about 0.01% of requests (with a sampling ratio of 0.01, or 1%).
Has anyone else run into this? When we disable instrumentation, the error goes away. Unfortunately cloudflare's documentation about this error is pretty scant.