Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.Tracing.StartRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
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
optional
perfettoConfig: string

Base64-encoded serialized perfetto.protos.TraceConfig protobuf message When specified, the parameters categories, options, traceConfig are ignored. (Encoded as a base64 string when passed over JSON)

optional
tracingBackend: TracingBackend

Backend type (defaults to auto)