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

Implement exponential average search time per hour statistics. #44683

Merged
merged 3 commits into from
Jul 26, 2019

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Jul 22, 2019

This PR introduces two new fields:

  • JobStats.TimingStats.exponential_average_bucket_processing_time_per_hour_ms
  • DatafeedStats.TimingStats.exponential_average_search_time_per_hour_ms

These fields implement exponential moving average calculation. They are directly comparable to each other giving the user the idea whether the job spends more time searching or performing end-of-bucket processing.

Related to #29857

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core

@przemekwitek przemekwitek removed the WIP label Jul 22, 2019
@przemekwitek przemekwitek marked this pull request as ready for review July 22, 2019 09:20
Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

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

LGTM

@przemekwitek
Copy link
Contributor Author

run elasticsearch-ci/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants