Skip to content

Conversation

@souravgupta-msft
Copy link
Member

@souravgupta-msft souravgupta-msft commented Oct 23, 2025

Type of Change

  • Bug fix
  • New feature
  • Code quality improvement
  • Other (describe):

Description

Add RPC to get node level stats like memory usage (for now). This can be extended to include other stats like CPU usage, network bandwidth, etc. This information can be seen by doing read on fs=debug/cluster-stats path.
Sample output,

user@user-vm:~$ cat mntdir/fs=debug/nodes-stats
{
  "timestamp": "2025-10-24T08:38:39Z",
  "count": 1,
  "nodes": [
    {
      "node_id": "9b201668-e71f-422c-b2e9-b66bda2343eb",
      "hostname": "user-vm",
      "mem_used_bytes": 3489771520,
      "mem_total_bytes": 12911104000,
      "timestamp": "2025-10-24T08:38:39Z"
    }
  ],
  "aggregate": {
    "mem_used_bytes": 3489771520,
    "mem_total_bytes": 12911104000
  }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant