Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat(www): add client-side trace propagation to Logs & Analytics (#49161)

Ana0a677ac9eef2
diff --git a/apps/www/data/features.tsx b/apps/www/data/features.tsx
index 328b9db7630..ccae3fa2bb4 100644
--- a/apps/www/data/features.tsx
+++ b/apps/www/data/features.tsx
@@ -2343,6 +2343,8 @@ The Logs & Analytics feature in Supabase provides users with comprehensive loggi
OpenTelemetry integration allows you to export logs, metrics, and traces to any OTel-compatible tool—Datadog, Honeycomb, Grafana, or your preferred monitoring platform. The Metrics API exposes ~200 Prometheus-compatible Postgres metrics, including CPU, IO, WAL, connections, and query statistics.
+Trace propagation also works inbound. supabase-js, Swift, Flutter, and Python can propagate W3C Trace Context to Supabase, so a client-side trace and the corresponding Supabase logs share the same trace_id. It is opt-in and works with any W3C-compliant tracer, including OTLP, Sentry, Datadog, Honeycomb, and Grafana. See the [client-side tracing guide](https://supabase.com/docs/guides/monitoring-and-debugging/client-side-tracing) for the latest on supported SDKs and target platforms.
+
## Key benefits
1. Real-Time Monitoring: Access live data on application performance and user interactions to make informed decisions.
2. Comprehensive Log Management: Ingest and store logs from multiple sources, allowing for centralized management of application events.
@@ -2351,6 +2353,7 @@ OpenTelemetry integration allows you to export logs, metrics, and traces to any
5. Scalability: Handle large volumes of log data with a robust infrastructure designed for high availability and performance.
6. OpenTelemetry Support: Export telemetry data to vendor-agnostic monitoring platforms for unified observability.
7. Metrics API: Stream Postgres performance metrics for CPU, IO, WAL, connections, and query statistics.
+8. Client-Side Trace Propagation: correlate a trace from your client app — web, mobile, or server-side — with the matching API Gateway and Edge Function log under one shared 'trace_id'.
This feature is particularly valuable for teams looking to enhance their application's reliability and performance by gaining deeper insights into usage patterns and potential issues.
`,
@@ -2671,7 +2674,7 @@ $60 per drain per project, plus $0.20 per million events and $0.09 per GB egress
icon: Activity,
products: [ADDITIONAL_PRODUCTS.STUDIO],
heroImage: 'https://www.youtube-nocookie.com/embed/A4GFmvgxS-E',
- docsUrl: 'https://supabase.com/docs/guides/telemetry/log-drains',
+ docsUrl: 'https://supabase.com/docs/guides/monitoring-and-debugging/log-drains',
slug: 'log-drains',
status: {
stage: PRODUCT_STAGES.GA,