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
22 changes: 8 additions & 14 deletions docs/platforms/javascript/common/agent-tracing/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,14 @@ Pick your AI stack. Some libraries auto-instrument; others need a short setup

<PlatformSection supported={["javascript.cloudflare"]}>

On Cloudflare, setup differs by library—open the guide for your stack:

- **Workers AI** — works automatically once Sentry wraps your worker.
- **Vercel AI** — turn the integration on in your Sentry options, then enable telemetry on each AI call (details on that page).
- **OpenAI, Anthropic, Google GenAI, LangChain, LangGraph** — not auto-instrumented here. Each guide shows how to wrap your client so AI spans show up. Tracing alone is not enough.

- <PlatformLink to="/features/workers-ai/">Workers AI</PlatformLink>
- <PlatformLink to="/features/agents-sdk/">Agents SDK</PlatformLink>
- <PlatformLink to="/configuration/integrations/vercelai/">Vercel AI</PlatformLink>
- <PlatformLink to="/configuration/integrations/openai/">OpenAI</PlatformLink>
- <PlatformLink to="/configuration/integrations/anthropic/">Anthropic</PlatformLink>
- <PlatformLink to="/configuration/integrations/google-genai/">Google Gen AI</PlatformLink>
- <PlatformLink to="/configuration/integrations/langchain/">LangChain</PlatformLink>
- <PlatformLink to="/configuration/integrations/langgraph/">LangGraph</PlatformLink>
On Cloudflare, how much setup you need depends on the library. Enabling tracing alone is not enough for most of them.

- <PlatformLink to="/features/workers-ai/">Workers AI</PlatformLink> — works as soon as Sentry wraps your worker. Nothing else to do.
- <PlatformLink to="/configuration/integrations/vercelai/">Vercel AI</PlatformLink> — add the integration to your Sentry options, then enable telemetry on each AI call.
- <PlatformLink to="/features/agents-sdk/">Agents SDK</PlatformLink> — wrap your agent classes with `instrumentAgentWithSentry`.
- <PlatformLink to="/configuration/integrations/openai/">OpenAI</PlatformLink>, <PlatformLink to="/configuration/integrations/anthropic/">Anthropic</PlatformLink>, and <PlatformLink to="/configuration/integrations/google-genai/">Google Gen AI</PlatformLink> — wrap your client instance.
- <PlatformLink to="/configuration/integrations/langchain/">LangChain</PlatformLink> — attach Sentry's callback handler.
- <PlatformLink to="/configuration/integrations/langgraph/">LangGraph</PlatformLink> — wrap your graph before you call `.compile()`.

</PlatformSection>

Expand Down
Loading