diff --git a/src/interface/interface.ts b/src/interface/interface.ts index 1a53e12..78f5e16 100644 --- a/src/interface/interface.ts +++ b/src/interface/interface.ts @@ -118,6 +118,7 @@ export interface ActiveReport { shardusVersion: string; countedEvents: CountedEvent[]; appData: NodeInfoAppData; + memory: MemoryInfo; } export type CountedEvent = { @@ -162,3 +163,12 @@ export interface PartitionInfo { i: number; h: string; } + +export interface MemoryInfo { + timestamp: number; + rss: number; + heapTotal: number; + heapUsed: number; + external: number; + arrayBuffers: number; +}