Skip to main content

DataSourceLogPayload

@lowcode/runtime-backend


Type Alias: DataSourceLogPayload

DataSourceLogPayload = object

Defined in: runtime/dataSourceLogger.ts:6

Формат события выполнения dataSource.

Используется для унифицированной диагностики и не должен содержать секреты.

Properties​

dataSourceId​

dataSourceId: string

Defined in: runtime/dataSourceLogger.ts:8


dataSourceName?​

optional dataSourceName: string

Defined in: runtime/dataSourceLogger.ts:9


durationMs?​

optional durationMs: number

Defined in: runtime/dataSourceLogger.ts:14


errorMessage?​

optional errorMessage: string

Defined in: runtime/dataSourceLogger.ts:16


event​

event: "dataSource.call.started" | "dataSource.call.finished" | "dataSource.call.failed"

Defined in: runtime/dataSourceLogger.ts:7


kind​

kind: string

Defined in: runtime/dataSourceLogger.ts:10


projectId?​

optional projectId: string

Defined in: runtime/dataSourceLogger.ts:11


queryId?​

optional queryId: string

Defined in: runtime/dataSourceLogger.ts:12


requestId?​

optional requestId: string

Defined in: runtime/dataSourceLogger.ts:13


status?​

optional status: "success" | "error" | "timeout"

Defined in: runtime/dataSourceLogger.ts:15


traceId?​

optional traceId: string

Defined in: runtime/dataSourceLogger.ts:17