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
{{ message }}
Repository navigation
NodeClient does not work fully without creating via init #11118
Activity
mydea commentedon Mar 15, 2024
Hmm, good point! I think I'd vote, for now, to export this method (under a better name, e.g.
initOpenTelemetry()or something like this) for now 🤔timfish commentedon Mar 15, 2024
and allow passing the client
initOpenTelemetry(client)so it works with not only the global client?mydea commentedon Mar 15, 2024
yeah, that sounds like a good idea - probably require passing the client in, actually, I think that makes more sense!
timfish commentedon Mar 16, 2024
Am I correct in my understanding that we only need to
initOpenTelemetryif tracing is enabled?fix(node): Export `initOpenTelemetry` (#11158)
fix(node): Export `initOpenTelemetry` (getsentry#11158)