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.
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.
| Stack layer | Connection method in Libra | What it captures |
|---|---|---|
| Supabase | 1-click OAuth grant | Postgres slow queries, pooler waits, Auth & Edge 500s |
| Heroku | 1-click OAuth HTTPS Logplex drain | Router H12/H14 timeouts, R14 memory, dyno stdout |
| AWS ECS / Lambda | CloudFormation read-only IAM role | Multi-region CloudWatch log groups & task crashes |
| Node / Python / Go | npx 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.
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