dcloud errors profiles flamegraph

Merge 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)

IAM errors:GetEventsRead

Synopsis

dcloud errors profiles flamegraph id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: uuid

Flags

  • --windowOptional

    enum

    Last 15 minutes, hour or day, or custom with from/to

    One of: 15m, 1h, 24h, custom

    Default: "1h"

  • --fromOptional

    string

    Custom window start (ISO 8601)

    Constraints: datetime

  • --toOptional

    string

    Custom window end (ISO 8601)

    Constraints: datetime

  • --environmentOptional

    string

    Only chunks of this environment

    Constraints: max 200 chars

  • --releaseOptional

    string

    Only chunks of this release

    Constraints: max 200 chars

  • --runtimeOptional

    enum

    node, browser or python

    One of: node, browser, python

  • --profilerOptional

    string

    Only this profiler (one per process or page)

    Constraints: /^[0-9a-fA-F-]{32,36}$/

  • --threadOptional

    string

    Thread id (default: the busiest)

    Constraints: max 100 chars

  • --my-codeOptional

    enum

    Only in-app frames ("only my code")

    One of: 0, 1, true, false

  • --compareOptional

    enum

    Also the previous window of the same length, per function

    One of: 0, 1, true, false

Example

dcloud errors profiles flamegraph id

Generated from the API description, the same one the API checks requests against and the CLI is built from.