StartParameter

@Serializable
data class StartParameter(val categories: String? = null, val options: String? = null, val bufferUsageReportingInterval: Double? = null, val transferMode: String? = null, val streamFormat: Tracing.StreamFormat? = null, val streamCompression: Tracing.StreamCompression? = null, val traceConfig: Tracing.TraceConfig? = null, val perfettoConfig: String? = null, val tracingBackend: Tracing.TracingBackend? = null)

Constructors

Link copied to clipboard
constructor(categories: String? = null, options: String? = null, bufferUsageReportingInterval: Double? = null, transferMode: String? = null, streamFormat: Tracing.StreamFormat? = null, streamCompression: Tracing.StreamCompression? = null, traceConfig: Tracing.TraceConfig? = null, perfettoConfig: String? = null, tracingBackend: Tracing.TracingBackend? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard
val categories: String? = null

Category/tag filter

Link copied to clipboard
val options: String? = null

Tracing options

Link copied to clipboard
val perfettoConfig: String? = null

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
Link copied to clipboard

Backend type (defaults to auto)

Link copied to clipboard
val transferMode: String? = null

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