-
Notifications
You must be signed in to change notification settings - Fork 285
feat(cli): implement 'dora node info' command (#1203) #1267
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
base: main
Are you sure you want to change the base?
feat(cli): implement 'dora node info' command (#1203) #1267
Conversation
6e4925c to
9874c2b
Compare
|
Please review this PR. Thanks. @phil-opp |
|
Closing this as well because there is no way you can get cpu_usage from the daemon as it is currently implemented. |
|
I double-checked daemon/src/lib.rs and it looks like we're actually already grabbing CPU stats via sysinfo in |
|
Yes, this was added as part of #1251 |
|
Ok my bad, didn't look at @1251 |
|
any updates on this @phil-opp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please remove the unrelated edits in this file?
| pub struct Info { | ||
| /// Name of the node to inspect | ||
| #[clap(value_name = "NODE_NAME")] | ||
| node_name: NodeId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're typically talking about node IDs, not names in Dora.
| match format { | ||
| OutputFormat::Table => { | ||
| println!("Name: {}", selected_node.node_id); | ||
| println!("Status: Running"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why hardcode this? The node might not be running anymore.
4f77f95 to
18aed9b
Compare
18aed9b to
042c12e
Compare
This PR introduces new dora node info command that offers detailed information about running nodes in dataflows. This makes it easier to monitor node status, connections, and resource usage.
The new command provides a clear view of any node in dataflow:
Resolves #1203