Skip to main content

getMetricsSnapshot

@lowcode/runtime-host


Function: getMetricsSnapshot()

getMetricsSnapshot(): object

Defined in: apps/runtime-host/src/runtime/metrics.ts:33

Возвращает snapshot метрик для диагностики.

Returns

object

Объект с агрегированными значениями.

dataSources

dataSources: object

dataSources.durationsMs

durationsMs: number[]

dataSources.errors

errors: number = 0

dataSources.total

total: number = 0