We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 596db31 commit a2adf96Copy full SHA for a2adf96
1 file changed
tests/tracing/test_decorator.py
@@ -359,11 +359,12 @@ def my_agent():
359
presence_penalty=2.0,
360
)
361
362
+ sentry_init(
363
+ traces_sample_rate=1.0,
364
+ _experiments={"stream_gen_ai_spans": stream_gen_ai_spans},
365
+ )
366
+
367
if stream_gen_ai_spans:
- sentry_init(
- traces_sample_rate=1.0,
- _experiments={"stream_gen_ai_spans": stream_gen_ai_spans},
- )
368
items = capture_items("span")
369
370
with sentry_sdk.start_transaction(name="test-transaction"):
0 commit comments