Skip to content

Commit 33cb268

Browse files
authored
fix(span-streaming): Warn about thread usage if any batcher is active (#5408)
1 parent 2a4a289 commit 33cb268

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sentry_sdk/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,8 @@ def _record_lost_event(
471471
if (
472472
self.monitor
473473
or self.log_batcher
474+
or self.metrics_batcher
475+
or self.span_batcher
474476
or has_profiling_enabled(self.options)
475477
or isinstance(self.transport, BaseHttpTransport)
476478
):

0 commit comments

Comments
 (0)