Trace
Extended by
Section titled “Extended by”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new Trace(options, processor?): Trace
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
|
Returns
Section titled “Returns”Trace
Properties
Section titled “Properties”groupId
Section titled “groupId”groupId: null | string;
metadata?
Section titled “metadata?”optional metadata: Record<string, any>;
name: string;
traceId
Section titled “traceId”traceId: string;
type: "trace";
Methods
Section titled “Methods”clone()
Section titled “clone()”clone(): Trace
Returns
Section titled “Returns”Trace
end(): Promise<void>
Returns
Section titled “Returns”Promise
<void
>
start()
Section titled “start()”start(): Promise<void>
Returns
Section titled “Returns”Promise
<void
>
toJSON()
Section titled “toJSON()”toJSON(): null | object
Returns
Section titled “Returns”null
| object