Builder

class Builder

A builder for StartRequest, which allows setting the optional parameters of the TracingDomain.start command via a lambda.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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

Link copied to clipboard

Category/tag filter

Link copied to clipboard

Tracing options

Link copied to clipboard

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)

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

Backend type (defaults to auto)

Link copied to clipboard

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

Functions

Link copied to clipboard