-
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
Add user tags when comparing races #660
Add user tags when comparing races #660
Conversation
This change will include the race user tags along side with the date, challenge, car
esrally/reporter.py
Outdated
@@ -675,12 +675,18 @@ def report(self, r1, r2): | |||
if r1.challenge_name: | |||
print_internal(" Challenge: %s" % r1.challenge_name) | |||
print_internal(" Car: %s" % r1.car_name) | |||
if r1.user_tags: | |||
r1_user_tags = ", ".join(["%s=%s" % (k, v) for k, v in sorted(r1.user_tags.items())]) | |||
print_internal(" User Tags: %s" % r1_user_tags) |
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.
or better User tags
(lower t
vs capital)
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.
Makes sense.
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.
Thanks for the PR! LGTM
esrally/reporter.py
Outdated
@@ -675,12 +675,18 @@ def report(self, r1, r2): | |||
if r1.challenge_name: | |||
print_internal(" Challenge: %s" % r1.challenge_name) | |||
print_internal(" Car: %s" % r1.car_name) | |||
if r1.user_tags: | |||
r1_user_tags = ", ".join(["%s=%s" % (k, v) for k, v in sorted(r1.user_tags.items())]) | |||
print_internal(" User Tags: %s" % r1_user_tags) |
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.
Makes sense.
This change will include the race user tags along side with the date, challenge,
car
Example:
Fixes: #657