forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dataset quality] using msearch to speed up degradedDocs query (elast…
…ic#183023) Relates to elastic#179227. After gathering some numbers around possible tweaks of the current degradedDocs query ([more information](elastic#179227 (comment))), I decided to move forward and split the query to reduce the time taken by elastic search aggregating on data streams. This PR contains the following changes: - `mSearch` method was added to `DatasetQualityESClient` to allow the usage of [multi search](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html). - `degradedDocsRt` was changed to now include not only the amount of degradedDocs but also the total docs for the datastreams within the timerange selected Nothing visible has changed in terms of functionality https://github.com/elastic/kibana/assets/1313018/1d836446-7d35-4ff2-8356-16a8087ab505
- Loading branch information
Showing
4 changed files
with
115 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters