dcloud errors profiles flamegraphMerge a project’s continuous profiles in a window into one flame graph, with its slowest functions by self time (optionally only in-app frames, or compared with the previous window)
Synopsis
dcloud errors profiles flamegraph id [flags]Arguments
<id>Requiredstring
Also accepted as
--id. Constraints: uuid
Flags
--windowOptionalenum
Last 15 minutes, hour or day, or custom with from/to
One of:
15m,1h,24h,customDefault:
"1h"--fromOptionalstring
Custom window start (ISO 8601)
Constraints: datetime
--toOptionalstring
Custom window end (ISO 8601)
Constraints: datetime
--environmentOptionalstring
Only chunks of this environment
Constraints: max 200 chars
--releaseOptionalstring
Only chunks of this release
Constraints: max 200 chars
--runtimeOptionalenum
node, browser or python
One of:
node,browser,python--profilerOptionalstring
Only this profiler (one per process or page)
Constraints: /^[0-9a-fA-F-]{32,36}$/
--threadOptionalstring
Thread id (default: the busiest)
Constraints: max 100 chars
--my-codeOptionalenum
Only in-app frames ("only my code")
One of:
0,1,true,false--compareOptionalenum
Also the previous window of the same length, per function
One of:
0,1,true,false
Example
dcloud errors profiles flamegraph idGenerated from the API description, the same one the API checks requests against and the CLI is built from.