Skip to content
All tool news

Tool desk · Updated daily

Tool news·Supabase·

Supabase Adds W3C Trace Context propagation in supabase-js for Unified Debugging.

Supabase adds W3C Trace Context propagation in supabase-js, connecting client traces with API Gateway and Edge Function logs by trace ID.

CW

Create With tool desk

1 source checked · 3 min read · 3 sections

ShareLinkedIn
Supabase Adds W3C Trace Context propagation in supabase-js for Unified Debugging

A slow request can begin in the browser and end in a backend log, but finding the connection between those records has often required guesswork. Supabase is addressing that gap by letting supabase-js pass W3C Trace Context into its infrastructure, giving the client trace and corresponding server logs the same trace_id.

The update, detailed in Supabase’s official blog post, is designed to make distributed debugging more practical. Instead of manually comparing timestamps across a tracing platform and Supabase’s logs, developers can use the shared identifier to follow a request from the frontend through the API Gateway and into Edge Function logs.

That is a relatively narrow SDK change, but it tackles a common observability problem for teams building production applications. Client and server telemetry frequently live in separate systems. Without a common identifier, identifying whether latency or an error originated in the browser, network, gateway or backend can consume more time than fixing the issue itself.

How Trace Propagation Works

When developers enable tracePropagation, supabase-js adds three standard W3C headers to requests targeting Supabase domains:

  • traceparent, which carries the trace and parent span identifiers
  • tracestate, which can preserve vendor-specific trace information
  • baggage, which transports additional contextual values between services

Supabase reads the incoming context and applies the same trace_id to the logs generated for that request. W3C-compatible tracing products can then resume the trace on the server side. Supabase specifically lists OpenTelemetry, Sentry, Datadog, Honeycomb and Grafana among the compatible options.

The use of W3C Trace Context matters because it avoids making the feature dependent on one observability vendor. Teams can retain their existing tracer and exporter while using a standard set of headers to connect telemetry across the application boundary.

There are limits to what the SDK handles automatically. Supabase does not configure OpenTelemetry for the application, and the main supabase-js bundle does not ship with OpenTelemetry code. Developers still need to install and configure a tracing SDK, add an exporter and register a TracerProvider globally.

They must then load Supabase’s tracing integration at the application entry point and enable propagation when creating the client:

import '@supabase/supabase-js/tracing'
import { createClient } from '@supabase/supabase-js'

const supabase = createClient(SUPABASE_URL, SUPABASE_KEY, {
  tracePropagation: true,
})

Supabase calls also need to run inside an active span. If no trace exists at the time of the request, there is no trace context for the SDK to forward.

Why It Matters for Smaller Product Teams

For small businesses and lean development teams, the immediate benefit is faster incident investigation. A developer seeing a slow dashboard request in a browser trace can search Supabase’s logs for the same trace_id, rather than trying to infer a match from timestamps and request details.

The capability should be particularly useful for applications that rely on Edge Functions or make frequent requests through Supabase’s APIs. It can help teams separate frontend delays from server-side processing problems and provide a clearer record of a request’s path through the stack.

It also fits into Supabase’s broader work on developer operations and observability, while complementing application-level changes such as its more precise Postgres Changes subscriptions. The company says trace propagation is available beyond JavaScript in Swift, Flutter and Python, with language-specific setup covered in its client-side tracing documentation.

The feature is opt-in rather than a silent change in SDK behavior. That gives teams control over when trace headers are attached, but it also means existing applications will not gain linked telemetry until developers configure a tracer, import the tracing runtime and turn propagation on.

Frequently asked questions

What is W3C Trace Context propagation in supabase-js?

It is an opt-in capability that sends standard tracing headers with supabase-js requests. Supabase uses that context to put the client trace’s trace_id on corresponding API Gateway and Edge Function logs, allowing developers to correlate frontend and backend telemetry.

Does Supabase configure OpenTelemetry automatically?

No. Developers must provide and configure their own OpenTelemetry SDK or another W3C-compatible tracer, including an exporter and global tracing provider. They must also import @supabase/supabase-js/tracing, enable tracePropagation and make Supabase requests within active spans.

Which Supabase client libraries support trace propagation?

Supabase’s announcement focuses on supabase-js, while its documentation also lists support for Swift, Flutter and Python. Setup varies by language, so developers should consult the current documentation for implementation details.

Sources

1 checked

How we cover tool news: Create With's tool desk drafts these reports with AI from the sources listed above and checks them against those sources before publishing.

Worth passing on?

ShareLinkedIn

Go deeper on Supabase

Related reading, watching and going.

Everything on Supabase →

The briefing

1 Sept 2026

GrokBot Tested: Two Conflicting Takes from Create With

Two Create With writers test GrokBot - an app giving each AI bot a cloud PC and letting bots message each other. We share opposing takes and pricing notes.

Read →

The briefing

25 Aug 2026

Claude Code + Figma Console MCP: Side-by-Side Flow

How Claude Code + open-source Figma Console MCP creates a side-by-side design flow that draws straight into your Figma file—no credits or rate limits.

Read →

The briefing

11 Aug 2026

Non-Coders Building Mobile Apps in 2026: AI & No-Code

Can non-coders ship native mobile apps in 2026? Create With members share real apps, plus our cofounder's AI stack and routes using agents and no-code tools.

Read →
36 min

Podcast

55. We're Back! Conference Recap, Running Events with AI & Self-Healing Apps

James and Kieran return to the Create With Podcast after their summer break to recap the 2026 Create With Conference in Brighton. They discuss how 550 attendees experienced workshops, a charity hackathon where functional apps were built in 30 minutes, and an innovative conference operating system built entirely with AI. The episode covers the latest developments in AI development tools including Anthropic's Fable model, scheduled tasks in Codex, and self-healing applications using PostHog.

Watch now ↗
34 min

Podcast

My Daughter Built a Website Business, Claude Design First Look & Going All-In on Cloudflare

James and Kieran discuss practical AI-powered development through real-world examples, including a seven-year-old building a website business with Claude Code voice mode, Anthropic's new Claude Design tool, API security challenges in the AI agent era, and Cloudflare's expanding AI infrastructure offerings. The episode covers hands-on experiences with vibe coding, emerging design tools, and the evolving landscape of AI-assisted development.

Watch now ↗

Podcast

53. Why Your Vibe Code Needs Tests, Ditching SaaS & AI Agents That Work While You Sleep

James and Kieran discuss the practical realities of building AI-powered software, emphasizing the importance of testing in vibe-coded applications, exploring alternatives to traditional SaaS tools, and implementing autonomous AI agents for business operations. The episode covers technical topics like Convex databases, app store bottlenecks from AI-generated submissions, and using OpenClaw as a marketing automation agent.

Watch now ↗

Latest tool news

What else changed this week.

All tool news

The Create With Briefing

Don't watch forty changelogs. Read one email.

Every Tuesday: the tool changes worth knowing, real business use cases, and what's on near you. Free, unsubscribe any time.