Skip to content

[7.x] [Security Solution] Improve find rule and find rule status route performance (#99678)#100912

Merged
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-99678
May 28, 2021
Merged

[7.x] [Security Solution] Improve find rule and find rule status route performance (#99678)#100912
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-99678

Conversation

@kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

…ormance (elastic#99678)

* Fetch rule statuses using single aggregation instead of N separate requests

* Optimize _find API and _find_statuses

* Merge alerting framework errors into rule statuses

* Add sortSchema for top hits agg, update terms.order schema

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor Author

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
canvas 29 25 -4
crossClusterReplication 8 6 -2
fleet 22 20 -2
globalSearch 4 2 -2
indexManagement 12 7 -5
infra 261 149 -112
lens 67 45 -22
licensing 18 15 -3
lists 239 236 -3
maps 286 208 -78
ml 121 115 -6
monitoring 109 56 -53
securitySolution 386 342 -44
stackAlerts 101 95 -6
total -342

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

cc @marshallmain

@kibanamachine kibanamachine merged commit 3fa7834 into elastic:7.x May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants