File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
docs/platforms/python/integrations/openai-agents Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration
38
38
39
39
sentry_sdk.init(
40
40
dsn = " ___PUBLIC_DSN___" ,
41
+ traces_sample_rate = 1.0 ,
41
42
# Add data like inputs and responses to/from LLMs and tools;
42
43
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
43
44
send_default_pii = True ,
@@ -79,6 +80,7 @@ random_number_agent = agents.Agent(
79
80
async def main () -> None :
80
81
sentry_sdk.init(
81
82
dsn = " ..." , # same as above
83
+ traces_sample_rate = 1.0 ,
82
84
# Add data like LLM and tool inputs/outputs;
83
85
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
84
86
send_default_pii = True ,
You can’t perform that action at this time.
0 commit comments