Skip to content

Revert "[SLO] Fix issue where filters do not apply to overview stats"#242978

Merged
baileycash-elastic merged 2 commits intomainfrom
revert-234218-slo-233631
Nov 17, 2025
Merged

Revert "[SLO] Fix issue where filters do not apply to overview stats"#242978
baileycash-elastic merged 2 commits intomainfrom
revert-234218-slo-233631

Conversation

@jasonrhodes
Copy link
Copy Markdown
Member

@jasonrhodes jasonrhodes commented Nov 13, 2025

Reverts #234218

This PR adds a composite aggregation do/while loop that attempts to retreive ALL SLO instances, which in some cases can be upwards of 1M records or more, and can cause significant performance strains on a cluster. We should rethink the approach here when we have time to do that.

@jasonrhodes jasonrhodes requested a review from a team as a code owner November 13, 2025 23:46
@botelastic botelastic bot added the Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. label Nov 13, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@github-actions github-actions bot added the author:obs-ux-management PRs authored by the obs ux management team label Nov 13, 2025
@jasonrhodes
Copy link
Copy Markdown
Member Author

@baileycash-elastic were you able to run this locally with latest to confirm it doesn't have any weird problems with things that came after this PR? I would hope not but just making sure we checked, I haven't run it locally yet. I will.

@baileycash-elastic
Copy link
Copy Markdown
Contributor

@baileycash-elastic were you able to run this locally with latest to confirm it doesn't have any weird problems with things that came after this PR? I would hope not but just making sure we checked, I haven't run it locally yet. I will.

This one is fairly isolated and is used in only one place. Tested it, works as expected. Unfortunately 🥲

@jasonrhodes jasonrhodes force-pushed the revert-234218-slo-233631 branch from 47e150b to 1940574 Compare November 14, 2025 21:49
Copy link
Copy Markdown
Contributor

@dominiqueclarke dominiqueclarke left a comment

Choose a reason for hiding this comment

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

LGTM.

@baileycash-elastic baileycash-elastic enabled auto-merge (squash) November 14, 2025 21:51
@elasticmachine
Copy link
Copy Markdown
Contributor

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] Scout: [ platform / streams_app ] plugin / should allow mapping a field
  • [job] [logs] Scout: [ platform / streams_app ] plugin / should allow mapping a field
  • [job] [logs] Scout: [ platform / streams_app ] plugin / should allow unmapping a field
  • [job] [logs] Scout: [ platform / streams_app ] plugin / should allow unmapping a field
  • [job] [logs] Scout: [ platform / streams_app ] plugin / stateful - Stream data mapping - schema editor - should allow mapping a field
  • [job] [logs] Scout: [ platform / streams_app ] plugin / stateful - Stream data mapping - schema editor - should allow mapping a field
  • [job] [logs] Scout: [ platform / streams_app ] plugin / stateful - Stream data mapping - schema editor - should allow unmapping a field
  • [job] [logs] Scout: [ platform / streams_app ] plugin / stateful - Stream data mapping - schema editor - should allow unmapping a field

History

@baileycash-elastic baileycash-elastic merged commit 9cc4742 into main Nov 17, 2025
13 checks passed
@baileycash-elastic baileycash-elastic deleted the revert-234218-slo-233631 branch November 17, 2025 09:59
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 9.2

https://github.com/elastic/kibana/actions/runs/19425573961

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 17, 2025
…elastic#242978)

Reverts elastic#234218

This PR adds a composite aggregation do/while loop that attempts to
retreive ALL SLO instances, which in some cases can be upwards of 1M
records or more, and can cause significant performance strains on a
cluster. We should rethink the approach here when we have time to do
that.

(cherry picked from commit 9cc4742)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
9.2

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 19, 2025
…stats" (#242978) (#243164)

# Backport

This will backport the following commits from `main` to `9.2`:
- [Revert "[SLO] Fix issue where filters do not apply to overview stats"
(#242978)](#242978)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jason
Rhodes","email":"jason.rhodes@elastic.co"},"sourceCommit":{"committedDate":"2025-11-17T09:59:35Z","message":"Revert
\"[SLO] Fix issue where filters do not apply to overview stats\"
(#242978)\n\nReverts #234218\n\nThis PR adds a composite
aggregation do/while loop that attempts to\nretreive ALL SLO instances,
which in some cases can be upwards of 1M\nrecords or more, and can cause
significant performance strains on a\ncluster. We should rethink the
approach here when we have time to
do\nthat.","sha":"9cc47422091a66e2668dcbd025b9b8795962cc62","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:obs-ux-management","backport:version","author:obs-ux-management","v9.3.0","v9.2.2"],"title":"Revert
\"[SLO] Fix issue where filters do not apply to overview
stats\"","number":242978,"url":"https://github.com/elastic/kibana/pull/242978","mergeCommit":{"message":"Revert
\"[SLO] Fix issue where filters do not apply to overview stats\"
(#242978)\n\nReverts #234218\n\nThis PR adds a composite
aggregation do/while loop that attempts to\nretreive ALL SLO instances,
which in some cases can be upwards of 1M\nrecords or more, and can cause
significant performance strains on a\ncluster. We should rethink the
approach here when we have time to
do\nthat.","sha":"9cc47422091a66e2668dcbd025b9b8795962cc62"}},"sourceBranch":"main","suggestedTargetBranches":["9.2"],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/242978","number":242978,"mergeCommit":{"message":"Revert
\"[SLO] Fix issue where filters do not apply to overview stats\"
(#242978)\n\nReverts #234218\n\nThis PR adds a composite
aggregation do/while loop that attempts to\nretreive ALL SLO instances,
which in some cases can be upwards of 1M\nrecords or more, and can cause
significant performance strains on a\ncluster. We should rethink the
approach here when we have time to
do\nthat.","sha":"9cc47422091a66e2668dcbd025b9b8795962cc62"}},{"branch":"9.2","label":"v9.2.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jason Rhodes <jason.rhodes@elastic.co>
Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
eokoneyo pushed a commit to eokoneyo/kibana that referenced this pull request Dec 2, 2025
…elastic#242978)

Reverts elastic#234218

This PR adds a composite aggregation do/while loop that attempts to
retreive ALL SLO instances, which in some cases can be upwards of 1M
records or more, and can cause significant performance strains on a
cluster. We should rethink the approach here when we have time to do
that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author:obs-ux-management PRs authored by the obs ux management team backport:version Backport to applied version labels release_note:fix Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. v9.2.2 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants