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

[ML] APM Correlations: Fix percentiles values. #116639

Merged
merged 7 commits into from
Nov 2, 2021

Conversation

walterra
Copy link
Contributor

@walterra walterra commented Oct 28, 2021

Summary

Follow up to #114833. Relates to #114734. Fixes #116168.

A change in the ES range agg (elastic/elasticsearch#78344) no longer accepts numbers with decimals if the underlying field is typed as long. This PR fixes the issue by rounding the percentiles values we pass on to the range agg.

Checklist

@walterra walterra added bug Fixes for quality problems that affect the customer experience regression :ml v8.0.0 release_note:skip Skip the PR/issue when compiling release notes apm:correlations v7.16.0 v8.1.0 labels Oct 28, 2021
@walterra walterra self-assigned this Oct 28, 2021
@walterra walterra marked this pull request as ready for review October 28, 2021 14:13
@walterra walterra requested a review from a team as a code owner October 28, 2021 14:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@walterra walterra requested a review from qn895 October 28, 2021 14:14
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Oct 28, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@qn895
Copy link
Member

qn895 commented Oct 28, 2021

LGMT 🎉

…ations/latency_correlations_search_service.ts


Use raw method instead of callback

Co-authored-by: Nathan L Smith <nathan.smith@elastic.co>
@walterra walterra added the auto-backport Deprecated - use backport:version if exact versions are needed label Oct 28, 2021
@walterra
Copy link
Contributor Author

@elasticmachine merge upstream

@walterra walterra enabled auto-merge (squash) October 30, 2021 14:54
@walterra
Copy link
Contributor Author

@elasticmachine merge upstream

@walterra
Copy link
Contributor Author

walterra commented Nov 1, 2021

@elasticmachine merge upstream

@walterra
Copy link
Contributor Author

walterra commented Nov 2, 2021

@elasticmachine merge upstream

@walterra walterra merged commit 0593c61 into elastic:main Nov 2, 2021
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @walterra

@walterra walterra deleted the ml-apm-correlations-fix-percentiles branch November 2, 2021 10:41
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 2, 2021
A change in the ES range agg no longer accepts numbers with decimals if the underlying field is typed as long. This PR fixes the issue by rounding the percentiles values we pass on to the range agg.
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 2, 2021
A change in the ES range agg no longer accepts numbers with decimals if the underlying field is typed as long. This PR fixes the issue by rounding the percentiles values we pass on to the range agg.
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
8.0
7.16

The backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Nov 2, 2021
A change in the ES range agg no longer accepts numbers with decimals if the underlying field is typed as long. This PR fixes the issue by rounding the percentiles values we pass on to the range agg.

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
kibanamachine added a commit that referenced this pull request Nov 2, 2021
A change in the ES range agg no longer accepts numbers with decimals if the underlying field is typed as long. This PR fixes the issue by rounding the percentiles values we pass on to the range agg.

Co-authored-by: Walter Rafelsberger <walter@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apm:correlations auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience :ml regression release_note:skip Skip the PR/issue when compiling release notes Team:APM All issues that need APM UI Team support v7.16.0 v8.0.0 v8.1.0
Projects
None yet
5 participants