Dora CLI #81
Replies: 4 comments 9 replies
-
@phil-opp @haixuanTao please think about this CLI proposal, we can further discuss |
Beta Was this translation helpful? Give feedback.
-
For This is also valid for the dashboard. This is where tools like Grafana shine, as it has a lot of integrations. |
Beta Was this translation helpful? Give feedback.
-
My thoughts on this are as follows:
Sounds good to me!
In order to build the nodes/operators, we need to know the necessary build steps. We could add support for a simple build command to the YAML file, but I think we should be careful about potential complexity. We don't want to re-invent Also, this should be fully optional as users might want to use their own build system.
Could you clarify what you mean here? Are you thinking about a way to automatically generate necessary boilerplate? In that case, we could also add support for a
Sounds nice!
These sound good to me too.
Do you mean the standard output? Or should we provide some sort of opinionated logging callback? Maybe it makes sense to provide such callbacks as extensions that we stay as flexible as possible. For example, in some uses cases open telemetry logging might make sense, but in other cases users might want to use only file-based logging or no logging at all.
What's the difference between metrics and stats? These sound quite similar to me. They also have some overlap with the
I think the name "list" too generic. It's not clear if it lists the running dataflows, the available machines, etc. Maybe it makes sense to introduce another subcommand level. For example, we could use
Could you clarify what you mean with "entity". The dora framework in its entirety or a single operator/node/machine etc.?
That's certainly nice to have, but I fear that it might be difficult to perform such an upgrade automatically. We would need to update multiple executables, potentially across different machines, and also update all the nodes and operators to the new API crate versions (which might require code adjustments). |
Beta Was this translation helpful? Give feedback.
-
When there are multiple operators in a dataflow, if an operator reports an error, using dora will output the dora logs uuid op_name of all operators. Is it possible to accurately locate the error operator here, or highlight the error operator? It is convenient to quickly locate the problem operator. (dora3.7) jarvis@jia:~/coding/rust_home/github.com/meua/dora-drives$ RUST_LOG=info dora start graphs/oasis/oasis_agent.yaml --attach --hot-reload
bf70dd14-a2a5-41ba-a6be-986a752ceb44
2023-06-29T08:20:27.619314Z ERROR dora_daemon:
bf70dd14-a2a5-41ba-a6be-986a752ceb44/oasis_agent failed with exit code 1.
Check logs using: dora logs bf70dd14-a2a5-41ba-a6be-986a752ceb44 oasis_agent
at binaries/daemon/src/lib.rs:906
2023-06-29T08:20:27.619333Z WARN dora_daemon::pending: node `oasis_agent` exited before initializing dora connection
at binaries/daemon/src/pending.rs:76
2023-06-29T08:20:27.804293Z ERROR dora_daemon:
bf70dd14-a2a5-41ba-a6be-986a752ceb44/pid_control_op failed with exit code 1.
Check logs using: dora logs bf70dd14-a2a5-41ba-a6be-986a752ceb44 pid_control_op
at binaries/daemon/src/lib.rs:906
2023-06-29T08:20:27.809381Z ERROR dora_daemon:
bf70dd14-a2a5-41ba-a6be-986a752ceb44/fot_op failed with exit code 1.
Check logs using: dora logs bf70dd14-a2a5-41ba-a6be-986a752ceb44 fot_op
at binaries/daemon/src/lib.rs:906
2023-06-29T08:20:27.810257Z ERROR dora_daemon:
bf70dd14-a2a5-41ba-a6be-986a752ceb44/obstacle_location_op failed with exit code 1.
Check logs using: dora logs bf70dd14-a2a5-41ba-a6be-986a752ceb44 obstacle_location_op
at binaries/daemon/src/lib.rs:906
2023-06-29T08:20:27.817554Z ERROR dora_daemon:
bf70dd14-a2a5-41ba-a6be-986a752ceb44/plot failed with exit code 1.
Check logs using: dora logs bf70dd14-a2a5-41ba-a6be-986a752ceb44 plot
at binaries/daemon/src/lib.rs:906
2023-06-29T08:20:27.836609Z ERROR dora_daemon:
bf70dd14-a2a5-41ba-a6be-986a752ceb44/carla_gps_op failed with exit code 1.
Check logs using: dora logs bf70dd14-a2a5-41ba-a6be-986a752ceb44 carla_gps_op
at binaries/daemon/src/lib.rs:906
2023-06-29T08:20:28.199109Z ERROR dora_daemon:
bf70dd14-a2a5-41ba-a6be-986a752ceb44/yolov5 failed with exit code 1.
Check logs using: dora logs bf70dd14-a2a5-41ba-a6be-986a752ceb44 yolov5
at binaries/daemon/src/lib.rs:906
2023-06-29T08:20:28.441932Z INFO dora_cli::attach: dataflow bf70dd14-a2a5-41ba-a6be-986a752ceb44 stopped
at binaries/cli/src/attach.rs:132
(dora3.7) jarvis@jia:~/coding/rust_home/github.com/meua/dora-drives$
|
Beta Was this translation helpful? Give feedback.
-
Discussion on Dora Command Line Interface (CLI)
In order to give Dora user/developer good experience, let's discuss ergonomic way of Dora CLI (this is dora user interface, let's explore:).
Below is a initial suggestion for Dora CLI for open discussion:
Usage:
Beta Was this translation helpful? Give feedback.
All reactions