-
Notifications
You must be signed in to change notification settings - Fork 314
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
Remove MergeParts internal telemetry device #764
Conversation
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! The change looks mostly fine but I left a comment around an unused import. As this is a breaking change (we're removing existing functionality), can you please provide a bit more context in the PR description on the consequences (a short summary of what metrics will not be gathered anymore and what will change in the report) so interested users can get more details without needing to go through all of the changes in the PR?
""" | ||
Gathers merge parts time statistics. Note that you need to run a track setup which logs these data. | ||
""" | ||
MERGE_TIME_LINE = re.compile(r": (\d+) msec to merge ([a-z ]+) \[(\d+) docs\]") |
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 results in (at least) one new unused import re
in this module. Can you please check unused imports and remove them?
With this commit we remove all merge time related metrics from the command line report as they are not measured anymore since elastic#764. Relates elastic#764
Remove the Merge Parts telemetry device, which would display different merge times as reported by Lucene only when Lucene index writer trace logging was enabled (`--car-params="verbose_iw_logging_enabled:true"`). The following metric keys will not be gathered anymore: `merge_parts_total_time_*` where * is one of `postings, stored fields, doc values, norms, vectors, points` Closes elastic#754
With this commit we remove all merge time related metrics from the command line report as they are not measured anymore since elastic#764. Relates elastic#764 Relates elastic#767
Remove the Merge Parts telemetry device, which would display different merge times as reported by Lucene only when Lucene index writer trace logging was enabled (
--car-params="verbose_iw_logging_enabled:true"
). The following metric keys will not be gathered anymore:merge_parts_total_time_*
where * is one ofpostings, stored fields, doc values, norms, vectors, points
Closes #754