-
Notifications
You must be signed in to change notification settings - Fork 313
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
Allow to show track details #850
Allow to show track details #850
Conversation
With this commit we introduce a new `info` subcommand to Rally that allows users to print details about a track on the command line. This can be useful to see which challenges exist and which tasks are executed in each of them.
@@ -202,6 +202,35 @@ The new track appears when you run ``esrally list tracks --track-path=~/rally-tr | |||
---------- ----------------------------- ----------- --------------- ----------------- | |||
tutorial Tutorial benchmark for Rally 11658903 N/A 1.4 GB | |||
|
|||
You can also show details about your track with ``esrally info --track-path=~/rally-tracks/tutorial``:: | |||
|
|||
dm@io:~ $ esrally info --track-path=~/rally-tracks/tutorial |
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.
should we remove dm@io $
portion?
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.
This was kind of intentional to make it clear that this is a prompt.
Very cool feature, thank you! Do you think we want to add any tests? The feature itself is kind of like for testing, but maybe we want to add some to make sure some changes in the future don't break it? |
Thanks for the review. As discussed on another channel, let's add some integration tests for starters. |
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.
LGTM! Thank you!
Thanks for the review! :) |
With this commit we introduce a new
info
subcommand to Rally thatallows users to print details about a track on the command line. This
can be useful to see which challenges exist and which tasks are executed
in each of them.