puppeteer/new-docs/puppeteer.protocol.tracing.startrequest.md
2020-07-13 14:01:35 +01:00

1.8 KiB

Home > puppeteer > Protocol > Tracing > StartRequest

Protocol.Tracing.StartRequest interface

Signature:

export interface StartRequest 

Properties

Property Type Description
bufferUsageReportingInterval number If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
categories string Category/tag filter
options string Tracing options
streamCompression StreamCompression Compression format to use. This only applies when using ReturnAsStream transfer mode (defaults to none)
streamFormat StreamFormat Trace data format to use. This only applies when using ReturnAsStream transfer mode (defaults to json).
traceConfig TraceConfig
transferMode ('ReportEvents' | 'ReturnAsStream') Whether to report trace events as series of dataCollected events or to save trace to a stream (defaults to ReportEvents).