TraceConfig Type
An example TraceConfig that roughly matches what Chrome DevTools records:
Constructors
| Constructor |
Description
|
Full Usage:
TraceConfig(?recordingMode, ?traceBufferSizeInKb, ?traceBufferSizeInEvents, ?enableArgumentFilter, ?includedCategories, ?excludedCategories, ?includedProcessIds, ?histogramNames, ?memoryDumpConfig)
Parameters:
RecordingMode
-
Can be record-until-full, record-continuously, record-as-much-as-possible or trace-to-console. Defaults to record-until-full.
?traceBufferSizeInKb : float
-
maximum size of the trace recording buffer in kilobytes. Defaults to 100MB.
?traceBufferSizeInEvents : float
-
maximum size of the trace recording buffer in events.
?enableArgumentFilter : bool
-
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.
?includedCategories : 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.
?excludedCategories : 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.
?includedProcessIds : float[]
-
a list of process IDs to include in the trace. If not specified, trace all processes.
?histogramNames : string[]
-
a list of histogram names to report with the trace.
?memoryDumpConfig : Record<string, obj>
-
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.
Returns: TraceConfig
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.enableArgumentFilter
|
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. |
Full Usage:
this.excludedCategories
|
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. |
Full Usage:
this.histogramNames
|
a list of histogram names to report with the trace. |
Full Usage:
this.includedCategories
|
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. |
Full Usage:
this.includedProcessIds
|
a list of process IDs to include in the trace. If not specified, trace all processes. |
Full Usage:
this.memoryDumpConfig
|
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. |
Full Usage:
this.recordingMode
|
Can be record-until-full, record-continuously, record-as-much-as-possible or trace-to-console. Defaults to record-until-full. |
Full Usage:
this.traceBufferSizeInEvents
|
maximum size of the trace recording buffer in events. |
Full Usage:
this.traceBufferSizeInKb
|
maximum size of the trace recording buffer in kilobytes. Defaults to 100MB. |
fable-electron-docs-api