dcloud errors traces listList a project’s sampled traces (their root transactions): newest or slowest, server or page loads or failed, of one route
Synopsis
dcloud errors traces list id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--rangeOptionalenum
Window counted back from now: 1h, 24h (default), 7d, 14d, 30d or 90d
One of:
1h,24h,7d,14d,30d,90dDefault:
"24h"--environmentOptionalstring
Only this environment (production, staging, …). Default: every environment
Constraints: 1-64 chars
--routeOptionalstring
Only traces whose root is this route
Constraints: 1-300 chars
--orderOptionalenum
newest (default) or slowest first
One of:
newest,slowestDefault:
"newest"--kindOptionalenum
all (default), server requests, page loads, or failed ones (status not ok)
One of:
all,server,pages,failedDefault:
"all"--min-msOptionalnumber
Only traces at least this long, in milliseconds
Constraints: 0-3600000
--limitOptionalnumber
Most traces to return, the busiest first: 1–500, default 50
Constraints: integer, 1-500
Default:
50
Example
dcloud errors traces list idGenerated from the API description, the same one the API checks requests against and the CLI is built from.