Supabase Integrates W3C Trace Context Propagation to Unify Client and Server Logs
The supabase-js SDK and other client libraries now support W3C Trace Context, enabling developers to automatically correlate frontend requests with backend API Gateway and Edge Function logs using a single trace ID.

Supabase has introduced support for W3C-compliant trace context propagation across its official client libraries, including supabase-js, Swift, Flutter, and Python. This capability allows request contexts initialized on the frontend to propagate seamlessly to Supabase API Gateways and Edge Functions. By sharing a unified trace ID, engineers can trace a request's lifecycle across network boundaries without relying on imprecise timestamp-based manual correlation.
Primary source
Open Supabase Blog ↗This article summarizes the source. Check the original for full details and conditions.
Comparison
| Aspect | Before / Alternative | After / This |
|---|---|---|
| Log Correlation | Manual correlation using timestamps and IP addresses across frontend and backend boundaries | Automatic end-to-end tracing via a single, shared trace_id header |
| Standard Support | Proprietary or absent tracing context in client-side SDK requests | Full compliance with W3C Trace Context standards (traceparent headers) |
| Tooling Compatibility | Inability to easily export coherent client-server spans to third-party APM platforms | Out-of-the-box compatibility with OpenTelemetry, Sentry, Datadog, and Dynatrace |
Action Checklist
- Update your supabase-js client or other mobile/backend SDKs to the latest version. Verify support for Swift, Flutter, or Python if utilizing those platforms.
- Enable the tracePropagation configuration option during the Supabase client initialization. This option explicitly instructs the SDK to append tracing headers to requests.
- Ensure your observability pipeline, such as OpenTelemetry or Datadog, is configured to parse W3C headers. Standard traceparent headers will now be injected into outbound requests to your Supabase domains.


