From 42bdb714f60b5048a1101005180cca38127ded50 Mon Sep 17 00:00:00 2001 From: Matej Minar Date: Mon, 28 Jul 2025 13:20:44 +0200 Subject: [PATCH] Add tracing instructions to agent monitoring --- docs/platforms/python/integrations/openai-agents/index.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/platforms/python/integrations/openai-agents/index.mdx b/docs/platforms/python/integrations/openai-agents/index.mdx index 22c7f6bf1e795..d06af2a1af976 100644 --- a/docs/platforms/python/integrations/openai-agents/index.mdx +++ b/docs/platforms/python/integrations/openai-agents/index.mdx @@ -38,6 +38,7 @@ from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration sentry_sdk.init( dsn="___PUBLIC_DSN___", + traces_sample_rate=1.0, # Add data like inputs and responses to/from LLMs and tools; # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True, @@ -79,6 +80,7 @@ random_number_agent = agents.Agent( async def main() -> None: sentry_sdk.init( dsn="...", # same as above + traces_sample_rate=1.0, # Add data like LLM and tool inputs/outputs; # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info send_default_pii=True,