-
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
[APM] Transaction duration anomaly alerting integration #75719
Merged
ogupte
merged 11 commits into
elastic:master
from
ogupte:apm-72636-anomaly-detection-based-alerts
Aug 28, 2020
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
ec08dca
Closes #72636. Adds alerting integration for APM transaction duration…
ogupte 717d296
Merge remote-tracking branch 'upstream/master' into apm-72636-anomaly…
ogupte ac4bde1
Code review feedback
ogupte dd31e8b
Display alert summary with the selected anomaly severity label instea…
ogupte 94c3b48
- refactored ALL_OPTION and NOT_DEFINED_OPTION to be shared from comm…
ogupte c798812
refactor get_all_environments to minimize exports and be more consist…
ogupte d19427c
- Reorg the alerts menu for different alert types (threshold/anomaly)
ogupte b1f3b25
- Filters default transaction type to only those supported in the APM…
ogupte 936ae05
Merge branch 'master' into apm-72636-anomaly-detection-based-alerts
elasticmachine 7ec5155
- remove bell icon from alerts menu
ogupte 9d3a35a
Adds target service back into the anomaly alert setup as a ready-only…
ogupte 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
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.
nit: looks like all three are booleans so there should be no reason to coerce with
!!
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 added the double negative because the logical and expression returns the type of the last operand (
capabilities.ml.canGetJobs
) which is:boolean | Readonly<{[x: string]: boolean;}>
. Without the double NOT operator,canReadAnomalies
fails the type assignment for thecanReadAnomalies
prop of theAlertIntegrations
component.