Luca Forstner

Results 720 comments of Luca Forstner

I have a few questions to narrow this down further. I am not ruling out that our SDK is causing the leak: - What backend framework are you using -...

@flav-code Would you mind answering the questions I asked. It's important we have answers to them so we can rule out certain things.

@flav-code I am talking about Sentry spans. Which you would start with `Sentry.startSpan()`. (https://docs.sentry.io/concepts/key-terms/tracing/distributed-tracing/#traces-transactions-and-spans) Do you happen to have very long running requests in your process? Like server-sent-events, or streaming?

@flav-code Do you have any very long running requests / request handlers in your code?

I believe you saying this is correlated with the update. Can you share a bit more about your program architecture? Is discord opening a websocket request on your server or...

From what I can tell from your profiler screenshots, something is creating a Span (a root span) that seemingly never finishes, and spans keep getting attached to that span and...

If you could somehow also try logging `console.log(Sentry.getRootSpan())` somewhere in your websocket code, and share what is logged, that would be cool!

Sorry right. Can you try ``` const s = Sentry.getActiveSpan(); if (s) { console.log('root span', Sentry.getRootSpan(s)); } ```

Thanks! We are struggling trying to understand what is creating this non-recording Span. Usually that shouldn't happen unless you set a traces sample rate of

Hi, I am in the process of merging https://github.com/getsentry/sentry-javascript/pull/13384 which will do this implicitly. Thanks though!