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
3838
3939sentry_sdk.init(
4040 dsn = " ___PUBLIC_DSN___" ,
41+ traces_sample_rate = 1.0 ,
4142 # Add data like inputs and responses to/from LLMs and tools;
4243 # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
4344 send_default_pii = True ,
@@ -79,6 +80,7 @@ random_number_agent = agents.Agent(
7980async def main () -> None :
8081 sentry_sdk.init(
8182 dsn = " ..." , # same as above
83+ traces_sample_rate = 1.0 ,
8284 # Add data like LLM and tool inputs/outputs;
8385 # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
8486 send_default_pii = True ,
You can’t perform that action at this time.
0 commit comments