Skip to content

Unifying Supabase, Heroku Logplex, and CloudWatch Logs

Modern startups run Next.js on Vercel, workers on Heroku or AWS ECS, and Postgres + Auth on Supabase. Debugging across three separate log consoles turns 5-minute bugs into 2-hour hunts.

Exla Engineering··6 min read

0 agents

No EC2 sidecars or daemonsets needed

3 clouds

AWS + Supabase + Heroku unified

1 timeline

API, worker, and DB errors correlated

Key takeaway

Connect Supabase, Heroku, and AWS via 1-click OAuth and read-only IAM roles in Libra Logs, and propagate x-request-id + tenant_id so one search shows the entire failure chain.

Why split-stack startups lose hours in three-tab blind spots

Each cloud console only holds one piece of an incident: Supabase shows a PostgREST timeout without the worker payload, Heroku drops tail history without a drain, and CloudWatch bills $0.005/GB per scan per region.

How Libra connects each stack layer without host agents
Stack layerConnection method in LibraWhat it captures
Supabase1-click OAuth grantPostgres slow queries, pooler waits, Auth & Edge 500s
Heroku1-click OAuth HTTPS Logplex drainRouter H12/H14 timeouts, R14 memory, dyno stdout
AWS ECS / LambdaCloudFormation read-only IAM roleMulti-region CloudWatch log groups & task crashes
Node / Python / Gonpx libra-logs (OTLP /v1/logs & /v1/traces)Structured customer attributes & trace waterfalls

Propagating x-request-id and tenant_id into Supabase

Attach request and tenant headers to your server-side Supabase client so database errors link back to the exact API call.

correlated-supabase.ts
import { createClient } from "@supabase/supabase-js";

export function createScopedSupabase(requestId: string, tenantId: string) {
  return createClient(
    process.env.NEXT_PUBLIC_SUPABASE_URL!,
    process.env.SUPABASE_SERVICE_ROLE_KEY!,
    {
      global: {
        headers: {
          "x-request-id": requestId,
          "x-client-info": `backend/tenant-${tenantId}`,
        },
      },
    },
  );
}

Simple pricing · 30-day free trial

Stop paying per indexed log event. Group bugs by customer instead.

$20/mo

1-2 employees · up to 25 GB

$150/mo

3-9 employees · up to 100 GB + Slack alerts

10+ staff

We beat your Datadog/Sentry bill

Talk to sales

FAQ

Common engineering questions

Does Libra execute arbitrary SQL against our customer Supabase database?

Never. Libra reads operational logs and metrics only, respecting strict workspace scope.

Are AWS, Supabase, and Heroku connections included on the $20 and $150 plans?

Yes. Every integration is included with zero per-connector add-on fees.