Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SHARD-951: Push validator memory info to monitor #20

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/interface/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export interface ActiveReport {
shardusVersion: string;
countedEvents: CountedEvent[];
appData: NodeInfoAppData;
memory: MemoryInfo;
}

export type CountedEvent = {
Expand Down Expand Up @@ -162,3 +163,12 @@ export interface PartitionInfo {
i: number;
h: string;
}

export interface MemoryInfo {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this but just wanted to know if these are the only changes needed on monitor server. @shawnifill

timestamp: number;
rss: number;
heapTotal: number;
heapUsed: number;
external: number;
arrayBuffers: number;
}
Loading