SqlTraceStore
Implements
Section titled “Implements”TraceStore
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SqlTraceStore(sql): SqlTraceStore;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”SqlTraceStore
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”TraceStore.cleanupgetTrace()
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”TraceStore.getTracelistTraces()
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”TraceStore.listTracesputSpan()
Section titled “putSpan()”putSpan(span): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”TraceStore.putSpanwrite()
Section titled “write()”write(span): void;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”TraceStore.write