-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Custom threshold] Add missing prefill fields to the custom threshold…
… rule (#174690) Fixes #174824 ## Summary This PR adds prefill functionality for `time size`, `time unit`, and `alertOnGroupDisappear` in the custom threshold. It also fixes the filter query by changing the structure to match how we save information in the rule saved object, like this: ``` searchConfiguration: { index: 'metrics-*', query: { query: 'host.name: host-1', language: 'kuery', }, }, ``` This will be more compatible with future changes in case we want to support query filters other than `kuery`. --------- Co-authored-by: Faisal Kanout <[email protected]>
- Loading branch information
1 parent
5bd32e6
commit 86ca7a6
Showing
2 changed files
with
41 additions
and
29 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