struct Protocol::Tracing::TraceConfig

Included Modules

Defined in:

protocol/tracing.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def enable_argument_filter : Bool | Nil #

Turns on argument filter.


[View source]
def enable_sampling : Bool | Nil #

Turns on JavaScript stack sampling.


[View source]
def enable_systrace : Bool | Nil #

Turns on system tracing.


[View source]
def excluded_categories : Array(String) | Nil #

Excluded category filters.


[View source]
def included_categories : Array(String) | Nil #

Included category filters.


[View source]
def memory_dump_config : MemoryDumpConfig | Nil #

Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.


[View source]
def record_mode : String | Nil #

Controls how the trace buffer stores data.


[View source]
def synthetic_delays : Array(String) | Nil #

Configuration to synthesize the delays in tracing.


[View source]
def trace_buffer_size_in_kb : Number::Primitive | Nil #

Size of the trace buffer in kilobytes. If not specified or zero is passed, a default value of 200 MB would be used.


[View source]