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

2.0 KiB

Home > puppeteer > Protocol > Tracing

Protocol.Tracing namespace

Signature:

export namespace Tracing 

Interfaces

Interface Description
BufferUsageEvent
DataCollectedEvent Contains an bucket of collected trace events. When tracing is stopped collected events will be send as a sequence of dataCollected events followed by tracingComplete event.
GetCategoriesResponse
MemoryDumpConfig Configuration for memory dump. Used only when "memory-infra" category is enabled.
RecordClockSyncMarkerRequest
RequestMemoryDumpRequest
RequestMemoryDumpResponse
StartRequest
TraceConfig
TracingCompleteEvent Signals that tracing is stopped and there is no trace buffers pending flush, all data were delivered via dataCollected events.

Type Aliases

Type Alias Description
StreamCompression Compression type to use for traces returned via streams.
StreamFormat Data format of a trace. Can be either the legacy JSON format or the protocol buffer format. Note that the JSON format will be deprecated soon.