Skip to content

feat: implement dora node list command with metrics and filtering (#1202)#1262

Merged
phil-opp merged 1 commit intodora-rs:mainfrom
guptapratykshh:feature/dora-node-list-1202
Dec 16, 2025
Merged

feat: implement dora node list command with metrics and filtering (#1202)#1262
phil-opp merged 1 commit intodora-rs:mainfrom
guptapratykshh:feature/dora-node-list-1202

Conversation

@guptapratykshh
Copy link
Copy Markdown
Contributor

@guptapratykshh guptapratykshh commented Dec 13, 2025

This PR adds dora node list command (#1202) to list all currently running nodes and their resource metrics. The command offers both table and JSON formats. It shows the node name, status, PID, CPU usage, and memory consumption. Users can filter by dataflow name or UUID.

The implementation uses current metrics collection system. The daemon collects process metrics every 2 seconds with the sysinfo crate. It sends these metrics to the coordinator through NodeMetrics events. The CLI queries the coordinator using the GetNodeInfo request/reply protocol to get node information and formats it for display.

@guptapratykshh guptapratykshh force-pushed the feature/dora-node-list-1202 branch from fab95fb to 05bd1dc Compare December 13, 2025 11:08
@guptapratykshh
Copy link
Copy Markdown
Contributor Author

can you please review this PR. @phil-opp

Copy link
Copy Markdown
Collaborator

@phil-opp phil-opp left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@phil-opp phil-opp merged commit 3b49a44 into dora-rs:main Dec 16, 2025
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants