traceperf
    Preparing search index...

    Interface InstrumentOptions

    interface InstrumentOptions {
        captureArgs?: boolean;
        enableNestedTracking?: boolean;
        errorStatus?: number;
        parentExecutionId?: string | null;
        sampleRate?: number;
        silent?: boolean;
        threshold?: number;
        trackingMode?: TrackingModeName;
        trackMemory?: boolean;
    }

    Hierarchy (View Summary)

    Index
    captureArgs?: boolean

    Include a short rendering of the arguments in output and records

    enableNestedTracking?: boolean

    Attach tracked calls made inside this one as children (default true)

    errorStatus?: number

    Treat HTTP responses with status >= this as failed (default 500)

    parentExecutionId?: string | null

    Attach this call to a specific parent execution

    sampleRate?: number

    Fraction of calls to track (0.0 - 1.0)

    silent?: boolean

    Suppress console output for this call

    threshold?: number

    Only report this call if it takes at least this many milliseconds

    trackingMode?: TrackingModeName

    Tracking mode for this call

    trackMemory?: boolean

    Record the heap change for this call