TraceConfig

external interface TraceConfig(source)

Properties

Link copied to clipboard
abstract external var enable_argument_filter: Boolean?

if true, filter event data according to a specific list of events that have been manually vetted to not include any PII. See the implementation in Chromium for specifics.

Link copied to clipboard
abstract external var excluded_categories: ReadonlyArray<String>?

a list of tracing categories to exclude. Can include glob-like patterns using * at the end of the category name. See tracing categories for the list of categories.

Link copied to clipboard
abstract external var histogram_names: ReadonlyArray<String>?

a list of histogram names to report with the trace.

Link copied to clipboard
abstract external var included_categories: ReadonlyArray<String>?

a list of tracing categories to include. Can include glob-like patterns using * at the end of the category name. See tracing categories for the list of categories.

Link copied to clipboard
abstract external var included_process_ids: ReadonlyArray<Double>?

a list of process IDs to include in the trace. If not specified, trace all processes.

Link copied to clipboard
abstract external var memory_dump_config: ReadonlyRecord<String, Any?>?

if the disabled-by-default-memory-infra category is enabled, this contains optional additional configuration for data collection. See the Chromium memory-infra docs for more information.

Link copied to clipboard

Can be record-until-full, record-continuously, record-as-much-as-possible or trace-to-console. Defaults to record-until-full.

Link copied to clipboard
abstract external var trace_buffer_size_in_events: Double?

maximum size of the trace recording buffer in events.

Link copied to clipboard
abstract external var trace_buffer_size_in_kb: Double?

maximum size of the trace recording buffer in kilobytes. Defaults to 100MB.