You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heads up: with the next Faro release we don't include ZoneContextManager anymore.
It's causing problems very often and it's not needed by the default otel instruments we add.
Context manager is of course injectable via the web-tracer config.
Description
Promise.withResolvers is broken by the included version of zone.js via @opentelemetry/context-zone.
See open-telemetry/opentelemetry-js#4354 for details.
Steps to reproduce
In an app with @grafana/faro-web-tracing 1.8.2, type Promise.withResolvers in the console.
Expected behavior
It is a function.
Actual behavior
It is undefined.
Environment
Context
For a workaround, I added the following to my package.json:
I'm not sure if this is going to have any unwanted side-effects yet.
The text was updated successfully, but these errors were encountered: