-
Notifications
You must be signed in to change notification settings - Fork 126
RSDK-12623: Viam cli can work with trace files from viam-server #5552
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
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
5b49f9f
Add cli commands to import trace data
jmatth 07827f0
Redirect stderr to stop make from complaining about missing dpkg
jmatth a8cc3dc
Fix cli flags
jmatth eba223c
Rearrange cli trace commands and add support for printing to console
jmatth 3a9a80b
WIP: better organize trace related cli code
jmatth 6bb7919
Better organize cli traces code
jmatth 2680cad
Split argument structs up, fix otlp endpoint not getting passed through
jmatth 1e1db56
Split trace cli implementation into separate file
jmatth 4b81f6a
Update goutils to 0.3.6
jmatth 62de9b6
Fix typo
jmatth 5979391
Add more help text to remote trace commands, s/fetch/get to match ftd…
jmatth ad3ad5b
Add tests for trace file download
jmatth f9c6410
Fix delimited proto reader silently dropping messages that exceed the…
jmatth 1202a35
Update trace commands that deal with output location to match get-ftd…
jmatth 988190a
Merge remote-tracking branch 'upstream/main' into trace-cli
jmatth d222d8e
Attempt to fix compilation on 32-bit
jmatth 746a6fb
Fix cli tests
jmatth 048db33
Add usage text to traces commands
jmatth File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Would be nice to use
createUsageTexthelper here (and in the other new methods) to get consistent usage text formatting. Also because currently, the usage text onviam traces get-remote --helpincludesUSAGE: viam traces get-remote [command options] [target], but it isn't clear from this text thatpartis in fact a required field.