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

CLI Monitor Command #424

Open
wants to merge 6 commits into
base: v3
Choose a base branch
from
Open

CLI Monitor Command #424

wants to merge 6 commits into from

Conversation

jordan-rash
Copy link
Contributor

@jordan-rash jordan-rash commented Nov 7, 2024

Ability to monitor workloads output

└─❯ go run . monitor logs --workload-id 0TvE1YDXF0u9QQofRvPPks
##### Subscribing to: $NEX.logs.0TvE1YDXF0u9QQofRvPPks.*
[10:30:26] -> Count: 12
[10:30:27] -> Count: 13
[10:30:28] -> Count: 14
[10:30:29] -> Count: 15

@jordan-rash jordan-rash requested a review from a team as a code owner November 7, 2024 17:20
Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
Signed-off-by: Jordan Rash <[email protected]>
@autodidaddict
Copy link
Contributor

I think it might make sense to move the monitoring code into api/nodecontrol rather than hiding it behind the CLI package. This way, any client can be sure to monitor these things the right way, regardless of whether or not it's a CLI.

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