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

Skip metrics that are missing in either contender or baseline #1803

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

gareth-ellis
Copy link
Member

Fixes: #1802

This fixes compare failing if a metric is missing from one of baseline or contender. It seems this functionality was partly thought about already via e.g #1482 though this adds further protection.

@gareth-ellis gareth-ellis added the enhancement Improves the status quo label Nov 14, 2023
Copy link
Contributor

@gbanasiak gbanasiak left a comment

Choose a reason for hiding this comment

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

Thank you for fixing this.

This prints twice because _metrics_table() is called twice in here.

Based on #1482 (comment) I think we should simplify and avoid a warning. WDYT?

esrally/reporter.py Outdated Show resolved Hide resolved
@gareth-ellis
Copy link
Member Author

Sure - i've removed the logic around the warning. I have pushed to my branch, however the PR hasnt updated yet...

@gbanasiak
Copy link
Contributor

Thank you for iterating, LGTM.

@gareth-ellis gareth-ellis merged commit 20a4427 into elastic:master Nov 15, 2023
11 checks passed
@gareth-ellis gareth-ellis deleted the fix-compare branch November 15, 2023 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compare does not work with tracks with "metric" index names
2 participants