-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Synthetics] Fix ping heatmap payload #195107
[Synthetics] Fix ping heatmap payload #195107
Conversation
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
46cc49f
to
8e97aec
Compare
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History |
Starting backport for target branches: 8.15, 8.x https://github.com/elastic/kibana/actions/runs/11237971580 |
## Summary We addressed elastic#180076 recently with these two PRs: - elastic#184177 - elastic#192508 We were seeing a strange error that was difficult to repro, so we put in a best-effort patch that was still ineffective. The reason this issue happens is because in the code it's possible to divide by 0, which yields a value of `Infinity`, which at some point causes our interval value supplied to the server route to be an empty string. This patch will make it so that we never pass a value of 0 to be used in the calculation of bucket sizes in this hook. (cherry picked from commit 560d561)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11238927793 |
Initially this was labeled to backport to |
## Summary We addressed elastic#180076 recently with these two PRs: - elastic#184177 - elastic#192508 We were seeing a strange error that was difficult to repro, so we put in a best-effort patch that was still ineffective. The reason this issue happens is because in the code it's possible to divide by 0, which yields a value of `Infinity`, which at some point causes our interval value supplied to the server route to be an empty string. This patch will make it so that we never pass a value of 0 to be used in the calculation of bucket sizes in this hook. (cherry picked from commit 560d561)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.x`: - [[Synthetics] Fix ping heatmap payload (#195107)](#195107) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Justin Kambic","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-08T14:46:30Z","message":"[Synthetics] Fix ping heatmap payload (#195107)\n\n## Summary\r\n\r\nWe addressed #180076 recently\r\nwith these two PRs:\r\n\r\n- https://github.com/elastic/kibana/pull/184177\r\n- https://github.com/elastic/kibana/pull/192508\r\n\r\nWe were seeing a strange error that was difficult to repro, so we put in\r\na best-effort patch that was still ineffective. The reason this issue\r\nhappens is because in the code it's possible to divide by 0, which\r\nyields a value of `Infinity`, which at some point causes our interval\r\nvalue supplied to the server route to be an empty string.\r\n\r\nThis patch will make it so that we never pass a value of 0 to be used in\r\nthe calculation of bucket sizes in this hook.","sha":"560d561e21fe51020954bd9e3246f238ffa026ba","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","backport:prev-major","ci:project-deploy-observability","Team:obs-ux-management","v8.16.0","v8.15.3"],"title":"[Synthetics] Fix ping heatmap payload","number":195107,"url":"https://github.com/elastic/kibana/pull/195107","mergeCommit":{"message":"[Synthetics] Fix ping heatmap payload (#195107)\n\n## Summary\r\n\r\nWe addressed #180076 recently\r\nwith these two PRs:\r\n\r\n- https://github.com/elastic/kibana/pull/184177\r\n- https://github.com/elastic/kibana/pull/192508\r\n\r\nWe were seeing a strange error that was difficult to repro, so we put in\r\na best-effort patch that was still ineffective. The reason this issue\r\nhappens is because in the code it's possible to divide by 0, which\r\nyields a value of `Infinity`, which at some point causes our interval\r\nvalue supplied to the server route to be an empty string.\r\n\r\nThis patch will make it so that we never pass a value of 0 to be used in\r\nthe calculation of bucket sizes in this hook.","sha":"560d561e21fe51020954bd9e3246f238ffa026ba"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.15"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195107","number":195107,"mergeCommit":{"message":"[Synthetics] Fix ping heatmap payload (#195107)\n\n## Summary\r\n\r\nWe addressed #180076 recently\r\nwith these two PRs:\r\n\r\n- https://github.com/elastic/kibana/pull/184177\r\n- https://github.com/elastic/kibana/pull/192508\r\n\r\nWe were seeing a strange error that was difficult to repro, so we put in\r\na best-effort patch that was still ineffective. The reason this issue\r\nhappens is because in the code it's possible to divide by 0, which\r\nyields a value of `Infinity`, which at some point causes our interval\r\nvalue supplied to the server route to be an empty string.\r\n\r\nThis patch will make it so that we never pass a value of 0 to be used in\r\nthe calculation of bucket sizes in this hook.","sha":"560d561e21fe51020954bd9e3246f238ffa026ba"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.15","label":"v8.15.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Justin Kambic <[email protected]>
Summary
We addressed #180076 recently with these two PRs:
We were seeing a strange error that was difficult to repro, so we put in a best-effort patch that was still ineffective. The reason this issue happens is because in the code it's possible to divide by 0, which yields a value of
Infinity
, which at some point causes our interval value supplied to the server route to be an empty string.This patch will make it so that we never pass a value of 0 to be used in the calculation of bucket sizes in this hook.