Class StartCommandSettings
Start trace events collection.
public sealed class StartCommandSettings : ICommand
- Inheritance
-
StartCommandSettings
- Implements
- Inherited Members
Properties
BufferUsageReportingInterval
If set, the agent will issue bufferUsage events at this interval, specified in milliseconds
[JsonPropertyName("bufferUsageReportingInterval")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? BufferUsageReportingInterval { get; set; }
Property Value
Categories
Category/tag filter
[JsonPropertyName("categories")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Categories { get; set; }
Property Value
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
Options
Tracing options
[JsonPropertyName("options")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Options { get; set; }
Property Value
PerfettoConfig
Base64-encoded serialized perfetto.protos.TraceConfig protobuf message
When specified, the parameters categories, options, traceConfig
are ignored.
[JsonPropertyName("perfettoConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? PerfettoConfig { get; set; }
Property Value
StreamCompression
Compression format to use. This only applies when using ReturnAsStream
transfer mode (defaults to none)
[JsonPropertyName("streamCompression")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StreamCompression? StreamCompression { get; set; }
Property Value
StreamFormat
Trace data format to use. This only applies when using ReturnAsStream
transfer mode (defaults to json).
[JsonPropertyName("streamFormat")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StreamFormat? StreamFormat { get; set; }
Property Value
TraceConfig
Gets or sets the traceConfig
[JsonPropertyName("traceConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public TraceConfig? TraceConfig { get; set; }
Property Value
TracingBackend
Backend type (defaults to auto)
[JsonPropertyName("tracingBackend")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public TracingBackend? TracingBackend { get; set; }
Property Value
TransferMode
Whether to report trace events as series of dataCollected events or to save trace to a
stream (defaults to ReportEvents).
[JsonPropertyName("transferMode")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? TransferMode { get; set; }