Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Tracing.StartRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { StartRequest } = Protocol.Tracing;

Properties

optional
categories: string

Category/tag filter

optional
options: string

Tracing options

optional
bufferUsageReportingInterval: number

If set, the agent will issue bufferUsage events at this interval, specified in milliseconds

optional
transferMode: "ReportEvents" | "ReturnAsStream"

Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents). (StartRequestTransferMode enum)

optional
streamFormat: StreamFormat

Trace data format to use. This only applies when using ReturnAsStream transfer mode (defaults to json).

optional
streamCompression: StreamCompression

Compression format to use. This only applies when using ReturnAsStream transfer mode (defaults to none)

optional
traceConfig: TraceConfig