Replies: 1 comment 1 reply
-
Is it possible to discard span children? I still want to track |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using nest.js with sentry (9.46.0) and bullmq.
I have wrapped each job execution with
Sentry.withIsolationScope
:But still my background worker is using a lot of memory and it seems to be growing.
The memory keeps growing even after there are no jobs active and the queue is empty.
Somehow the spans are still left in the memory.
If I disable tracing
tracesSampleRate: 0.0
then memory usage is OK.Each job execution can take up to 15 minutes by doing a lot of HTTP calls, LLM calls etc.
Any ideas how can I avoid the memory issues without disabling tracing?
Beta Was this translation helpful? Give feedback.
All reactions