dcloud errors queries list-allList every statement: measured by the connected databases (every call) and seen in traces, joined by fingerprint
Each row says its source: both, database (background jobs, migrations, other apps, or not sampled) or traces (a database that is not connected). A connected database counts only when the caller has rds:DescribeDBQueryInsights on it; text is pg_stat_statements’ normalised form, never values or plans.
Synopsis
dcloud errors queries list-all id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--rangeOptionalenum
Window counted back from now: the last 24 hours (default) or 7 days
One of:
24h,7dDefault:
"24h"--roleOptionalenum
app: only the statements of the roles of the apps connected to this project (the default when each has its own role); all: every statement of the database
One of:
app,all--limitOptionalnumber
Most statements to return, by total time spent across the databases and the traces: 1–200, default 50 (the console shows up to 200)
Constraints: integer, 1-200
Default:
50
Example
dcloud errors queries list-all idGenerated from the API description, the same one the API checks requests against and the CLI is built from.