dcloud errors queries getRead one statement: what sampled requests saw, what the database measured (pg_stat_statements), charts, and the database at one request’s minute
A database counts only when the caller has rds:DescribeDBQueryInsights on it. Connections, locks and cache hit are sampled once a minute with the statements; minutes sampled before they were kept have them null.
Synopsis
dcloud errors queries get --fp fp [flags]Flags
--fpRequiredstring
The statement fingerprint, sqlfp1:<16 hex>, as the Queries tab and the database’s query insights show it
Constraints: /^sqlfp1:[0-9a-f]{16}$/
--projectOptionalstring
Only this project (its id). Default: every project of the organization whose events you may read; a project you may not read leaves nothing to show (404)
Constraints: uuid
--rangeOptionalenum
Window counted back from now: the last 24 hours (default) or 7 days
One of:
24h,7dDefault:
"24h"--requestOptionalstring
A sampled request (its transaction event id) whose minute `minute` describes. Default: the request with the slowest call
Constraints: /^[0-9a-f]{32}$|^[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12}$/
--atOptionalstring
A minute for `minute` instead of a request’s (ISO 8601), e.g. a db span’s start
Constraints: datetime
Example
dcloud errors queries get --fp exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.