Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/platforms/python/integrations/openai-agents/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down