Supabase, Neon and RDS
Connect a managed PostgreSQL service through Wakoo's PostgreSQL connector, with a read-only role.
Supabase, Neon and Amazon RDS run PostgreSQL, so Wakoo connects to them through its PostgreSQL connector (Stable). Nothing is installed on the database itself: the Wakoo client runs elsewhere and connects over the network.
One Supabase project is one instance for billing. See Plans and limits.
1. Pick the connection string
Wakoo keeps a long-lived connection, so it needs a direct or session-mode connection, not a transaction-mode pooler.
- Supabase: open Connect. Use the direct connection if your network has IPv6, or the session pooler if it only has IPv4. Avoid the transaction pooler (port 6543).
- Neon and Amazon RDS: use the direct connection to your database, not a transaction-mode pooler.
2. Create a read-only role
Run this in your provider's SQL editor (on Supabase, the SQL editor). Replace the password.
create role wakoo_monitor login password 'change-me';
grant pg_monitor to wakoo_monitor;
alter role wakoo_monitor set default_transaction_read_only = on;pg_monitor lets the role read the statistics views, not your tables. The last line makes
every session of this role read-only.
Then check that pg_stat_statements is enabled. On Supabase: Database, then
Extensions.
If your provider refuses one of these statements, tell us which one: we will help, and update this page.
3. Run the Wakoo client
Point the client at the connection string from step 1, using the role from step 2.
Install it by following the steps for your platform in Install the client.
- For a quick question, your own machine is enough.
- For continuous monitoring, run the client somewhere always on that can reach your database: Wakoo watches only while the client runs.
Only performance data leaves for Wakoo: timings, statistics, query shapes with every value masked, and execution plans. Never your table rows.