snap_startTrace
Description
Handler for the snap_startTrace method.
Parameters
data
Record<string, boolean | number | string> | nullCustom data to associate with the trace.
id
string | nullA unique identifier when not tracing a callback. Defaults to 'default' if not provided.
name
stringThe name of the trace.
parentContext
{ [prop: string]: Json; } | boolean | Json[] | number | string | null | nullThe parent context of the trace. If provided, the trace will be nested under the parent trace.
startTime
number | nullOverride the start time of the trace.
tags
Record<string, boolean | number | string> | nullCustom tags to associate with the trace.