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.
[ResponseOps] use Data Streams for AAD indices in serverless
Changes the way the alerts-as-data (AAD) indices are created and written to, to allow them to be built as they have been in the past (alias and backing indices created manually) OR as an ES Data Stream. Serverless will use Data Streams, other environments will use the existing alias and backing indices. The configuration `xpack.alerting.useDataStreamForAlerts` determines which to use, and is false by default. This configuration is not intended to be used by customers, as it when used in the wrong environment, will cause failures creating and writing to the alert indices. PR elastic#160572 - fix jest test - start integrating bits of the dataStreamAdapter - fix tests - fix function tests - fix FT - change the rule registry writer - fix FT - start using the new ds adapter to create alias indices - add create data stream logic - use alias by default createConcreteWriteIndex() as it's being called by other plugins now - start adapting jest tests to test datastream alerts as well - extend create_concrete_write_index jest tests for data stream - rebase, fix merge conflicts - fix jest test after merge conflict - convert the RR trial test to use data streams - fix jest test, remove ILM for datastream, run serverless o11y test with ds, add rr test with ds - fix jest and function tests - fix jest tests
- Loading branch information
Showing
43 changed files
with
3,287 additions
and
2,396 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
3,690 changes: 1,986 additions & 1,704 deletions
3,690
x-pack/plugins/alerting/server/alerts_service/alerts_service.test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.