-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
fix(slo): use insert_zeros gap policy for historical summary calculation #168044
fix(slo): use insert_zeros gap policy for historical summary calculation #168044
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: cc @kdelemme |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ion (elastic#168044) (cherry picked from commit cee55e3)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ion (elastic#168044) (cherry picked from commit cee55e3)
…alculation (#168044) (#168135) # Backport This will backport the following commits from `main` to `8.11`: - [fix(slo): use insert_zeros gap policy for historical summary calculation (#168044)](#168044) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Kevin Delemme","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-10-05T17:01:26Z","message":"fix(slo): use insert_zeros gap policy for historical summary calculation (#168044)","sha":"cee55e3b50fffa9e1237c389d030a5c25bdb3f6a","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team: Actionable Observability","backport:prev-minor","v8.12.0"],"number":168044,"url":"https://github.com/elastic/kibana/pull/168044","mergeCommit":{"message":"fix(slo): use insert_zeros gap policy for historical summary calculation (#168044)","sha":"cee55e3b50fffa9e1237c389d030a5c25bdb3f6a"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/168044","number":168044,"mergeCommit":{"message":"fix(slo): use insert_zeros gap policy for historical summary calculation (#168044)","sha":"cee55e3b50fffa9e1237c389d030a5c25bdb3f6a"}}]}] BACKPORT--> Co-authored-by: Kevin Delemme <[email protected]>
Resolves #168042
Summary
When the rollup data is too intermittent, some of the generated histogram buckets can be empty, and when calculating the moving sum, these empty buckets were skipped.
Using
gap_policy: "insert_zeros"
fixes that issue.