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

fix(slo): use insert_zeros gap policy for historical summary calculation #168044

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

kdelemme
Copy link
Contributor

@kdelemme kdelemme commented Oct 4, 2023

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.

@kdelemme kdelemme added release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v8.12.0 labels Oct 4, 2023
@kdelemme kdelemme self-assigned this Oct 4, 2023
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • /oblt-deploy-serverless : Deploy a serverless Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@kdelemme kdelemme marked this pull request as ready for review October 4, 2023 20:35
@kdelemme kdelemme requested a review from a team as a code owner October 4, 2023 20:35
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

cc @kdelemme

@kdelemme kdelemme merged commit cee55e3 into elastic:main Oct 5, 2023
9 checks passed
@kdelemme kdelemme deleted the fix/historical-summary-gap-policy branch October 5, 2023 17:01
@kdelemme
Copy link
Contributor Author

kdelemme commented Oct 5, 2023

💚 All backports created successfully

Status Branch Result
8.10

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.11

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 5, 2023
kibanamachine added a commit that referenced this pull request Oct 5, 2023
…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]>
kdelemme added a commit to kdelemme/kibana that referenced this pull request Oct 6, 2023
dej611 pushed a commit to dej611/kibana that referenced this pull request Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.11.0 v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SLO] fix historical summary calculation when data is discret
6 participants