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

Allow to show track details #850

Merged
merged 3 commits into from
Dec 20, 2019

Conversation

danielmitterdorfer
Copy link
Member

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.

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.
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Usability Makes Rally easier to use :Track Management New operations, changes in the track format, track download changes and the like labels Dec 18, 2019
@danielmitterdorfer danielmitterdorfer added this to the 1.4.0 milestone Dec 18, 2019
@danielmitterdorfer danielmitterdorfer self-assigned this Dec 18, 2019
@danielmitterdorfer danielmitterdorfer marked this pull request as ready for review December 19, 2019 14:46
@@ -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
Copy link
Contributor

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?

Copy link
Member Author

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.

@ebadyano
Copy link
Contributor

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?

@danielmitterdorfer
Copy link
Member Author

Do you think we want to add any tests?

Thanks for the review. As discussed on another channel, let's add some integration tests for starters.

@danielmitterdorfer
Copy link
Member Author

@ebadyano I've added an integration test now in 2b0cb8e. Can you please have another look?

Copy link
Contributor

@ebadyano ebadyano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@danielmitterdorfer
Copy link
Member Author

Thanks for the review! :)

@danielmitterdorfer danielmitterdorfer merged commit 7ae1787 into elastic:master Dec 20, 2019
@danielmitterdorfer danielmitterdorfer deleted the info-cmd branch December 20, 2019 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Track Management New operations, changes in the track format, track download changes and the like :Usability Makes Rally easier to use
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants