-
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
[AO] Add alertDetailsUrl to infra rule types #157987
Merged
maryam-saeidi
merged 18 commits into
elastic:main
from
maryam-saeidi:156534-add-alertDetailsUrl-for-infra-rules
May 26, 2023
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
5c3f200
Add alertDetailsUrl for metric threshold rule
maryam-saeidi e0af59f
Add alertDetailsUrl for inventory and log threshold, plus fixing test
maryam-saeidi 2a59068
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi 250d49b
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine c9bb075
Fix test
maryam-saeidi 0ebeeae
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi 43c360b
Fix type
maryam-saeidi 0c4b23f
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi f73a510
Add rangeFrom to the alert URL
maryam-saeidi 2e2cd15
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi 04b47b2
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi 43715ab
Always set alert start time in alertDetailsUrl
maryam-saeidi 135bae0
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi 77cf960
Update import
maryam-saeidi 1eabdf8
Undo import update
maryam-saeidi 86ba4b4
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi 9a8529f
Merge branch 'main' into 156534-add-alertDetailsUrl-for-infra-rules
maryam-saeidi fadca68
Update CODEOWNER of x-pack/test/alerting_api_integration/observability
maryam-saeidi 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
Validating CODEOWNERS rules …
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 probably want to take the window / look-back into account. Or perhaps rule interval. And consider multiples of those - for example, the range should be 3 x window, or something. If the look-back was an hour, or a day, seeing 5m may not be useful.
We'll probably get additional requirements for this anyway, so deferring till then is probably fine.
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.
Good point, I was also thinking about the same but wanted to have a smaller PR focused on generating the link for infra rules for now.
In another instance, I used 1/5 of the alert duration period before the start of the alert and 1/5 after the alert ended (in case it was recovered.)
There is room for improvement, and I created the following ticket to improve this time range:
#158480