Closed tygern closed 1 year ago
Hey @tygern, thanks so much for the repo, that was super helpful in tracking down the issue. I think Launch Darkly might be adding something to Env, which the library was choking on. But I think I got it solved in the latest 1.0.0-rc.9
.. Could you give that a go on your actual app?
Thanks for getting to this so quickly @evanderkoogh. I've updated the sample repo above with the 1.0.0-rc.9
release. There's no error now, but I don't see any traces.
It's possible I'm not configuring the new spanProcessors
correctly. I added the BatchTraceSpanProcessor
since it looked like that was the previous default. is that correct?
Hey @tygern, there was indeed an issue with rc.9
that prevented traces from showing up in some instances. That should have been fixed in rc.10
that I just released to npm.
I'm using Launch Darkly's edge SDK in a Cloudflare worker. When I add instrumentation to the app I see an error triggered when fetching a Launch Darkly flag (which is stored in a KV store).
Here's a minimal repository that reproduces the issue. Follow the readme and you should be able to reproduce the issue. Thanks!