-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Alerting] Initial implementation of alerting task cancel()
#114289
Merged
Merged
Changes from 31 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
793b2ac
Added cancel() to alerting task runner and writing event log document
ymao1 5bccd7c
Updating rule saved object with timeout execution status
ymao1 b7d4590
Skip scheduling actions and logging event log for alerts if rule exec…
ymao1 56e960b
Adding config for disabling skipping actions
ymao1 226be69
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 c2a8602
Fixing types
ymao1 e376c56
Adding flag for rule types to opt out of skipping acitons
ymao1 1ed70c5
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 658ec46
Merge branch 'master' into alerting/cancel-alerting-tasks
kibanamachine 36a9558
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 44db452
Using task runner uuid to differentiate between task instances
ymao1 11a9cde
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 7c6db75
Adding functional test
ymao1 cff64f1
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 fa84e8d
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 0ec005a
Default to timestamp when startedAt is not available
ymao1 8ea6ff0
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 4401dbd
Reverting previous change and updating task pool filter instead
ymao1 096762a
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 5b08470
Fixing functional test
ymao1 7119630
Merge branch 'master' of https://github.com/elastic/kibana into alert…
ymao1 109ce9b
Merge branch 'master' into alerting/cancel-alerting-tasks
kibanamachine f327b36
Merge branch 'main' of https://github.com/elastic/kibana into alertin…
ymao1 9b7570e
Adding debug logging
ymao1 8b2ebd9
Merge branch 'main' of https://github.com/elastic/kibana into alertin…
ymao1 44eec3b
Fixing unit tests
ymao1 5e45e9d
Merge branch 'main' of https://github.com/elastic/kibana into alertin…
ymao1 3e9b3a9
Fixing unit tests
ymao1 e5906d4
Merge branch 'main' into alerting/cancel-alerting-tasks
kibanamachine 4672e4a
Merge branch 'main' into alerting/cancel-alerting-tasks
kibanamachine 3ebfbfe
Merge branch 'main' into alerting/cancel-alerting-tasks
kibanamachine 939e665
Merging in main
ymao1 a7a39a2
Adding rule name to event log doc and rule type timeout to log messages
ymao1 1787d61
Simplifying register logic and adding check to see if already cancelled
ymao1 6851db2
Updating task uuid based on PR comments
ymao1 d769723
Removing observable
ymao1 0102c2e
Fixing functional test
ymao1 cc4781b
Merge branch 'main' of https://github.com/elastic/kibana into alertin…
ymao1 285911b
Adding to docs
ymao1 030a1fb
Merge branch 'main' of https://github.com/elastic/kibana into alertin…
ymao1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be adding docs for this config as well, right? Presumably we'll create a PR to cloud-enable this as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will create a cloud PR for this config when this PR gets merged but I didn't think user docs make sense for this config?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not?
I think the one-liner that you added makes sense and is good enough :-)