snap_startTrace
Description
Handler for the snap_startTrace method.
Parameters
data
Record<string, string | number | boolean> | undefinedCustom data to associate with the trace.
id
string | undefinedA unique identifier when not tracing a callback. Defaults to 'default' if not provided.
name
stringThe name of the trace.
parentContext
Json | undefinedThe parent context of the trace. If provided, the trace will be nested under the parent trace.
startTime
number | undefinedOverride the start time of the trace.
tags
Record<string, string | number | boolean> | undefinedCustom tags to associate with the trace.