Skip to main content

Cloudflare AI Gateway proxies requests to your LLM provider. You can send its traces to Phoenix two ways:

  • Export gateway spans: the gateway emits an OpenTelemetry span for every request it proxies, with no code in your application.
  • Instrument your app: trace the OpenAI client with OpenInference so Phoenix captures the full input and output messages, while your app still routes requests through the gateway.