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

[Transform][Rollup] add processing stats to record the time spent for processing results #53770

Merged

Conversation

hendrikmuhs
Copy link
Contributor

add 2 additional stats: processing time and processing total which capture the time spent for processing results and how often it ran. The 2 new stats correspond to the existing indexing and search stats. Together with indexing and search this now allows the user to see the full picture, all 3 stages.

Note: Processing time is not expected to use a significant amount of time, however a user that looks at rollup/transform as black box this is not a given. Having stats for all 3 stages allows a complete view. LBNL result processing might have a bug, it's also possible that processing gets more complicated in future.

processing made sense to me, if you have better name suggestion, please let me know.

@hendrikmuhs hendrikmuhs added >enhancement :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data v8.0.0 :ml/Transform Transform v7.7.0 labels Mar 18, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Rollup)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

@benwtrent benwtrent self-requested a review March 23, 2020 12:33
}

@SuppressWarnings("unchecked")
private static <T> T unboxSafe(Object l, T default_value) {
Copy link
Member

Choose a reason for hiding this comment

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

❤️

@hendrikmuhs hendrikmuhs merged commit da9273a into elastic:master Mar 23, 2020
@hendrikmuhs hendrikmuhs deleted the transform-rollup-processing-stats branch March 23, 2020 19:32
@polyfractal
Copy link
Contributor

❤️

hendrikmuhs pushed a commit to hendrikmuhs/elasticsearch that referenced this pull request Mar 23, 2020
…tic#53770)

add 2 additional stats: processing time and processing total which capture the
time spent for processing results and how often it ran. The 2 new stats
correspond to the existing indexing and search stats. Together with indexing
and search this now allows the user to see the full picture, all 3 stages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :ml/Transform Transform :StorageEngine/Rollup Turn fine-grained time-based data into coarser-grained data v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants