MemoryTraceStore
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MemoryTraceStore(options?): MemoryTraceStore;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”MemoryTraceStore
Methods
Section titled “Methods”cleanup()
Section titled “cleanup()”cleanup(maxAgeMs): Promise<number>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<number>
Implementation of
Section titled “Implementation of”getTrace()
Section titled “getTrace()”getTrace(traceId): Promise<AgentTrace | null>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”Promise<AgentTrace | null>
Implementation of
Section titled “Implementation of”listTraces()
Section titled “listTraces()”listTraces(sessionId, window?): Promise<AgentTrace[]>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”Promise<AgentTrace[]>
Implementation of
Section titled “Implementation of”putSpan()
Section titled “putSpan()”putSpan(span): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”write()
Section titled “write()”write(span): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”void