Watch live connection activity

connect & shell

// what it does

A `top`-style TUI streaming the branch's live connections and queries — your first stop when the database is suddenly slow and you need to see what's running right now. Works for both Vitess and Postgres branches.

// shell

$ pscale branch connections top mydb main
$ pscale branch connections top mydb main --capture incident.trace --duration 60s

// gotcha

Pipe it with --capture file.trace --duration 60s to record headlessly (for a postmortem or to attach to an incident), then replay the trace later with --replay.

// resources