-
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.
[AO] Add alertDetailsUrl to APM rule types (#158657)
Resolves #158268 ## Summary In this PR, I've added `alertDetailsUrl` as an action variable to the APM rule types. Also, the related functional tests were updated to ensure the URL was generated correctly. |Action|Result| |---|---| |![image](https://github.com/elastic/kibana/assets/12370520/680c575a-8bbc-4ead-9a74-d92d25780fcf)|![image](https://github.com/elastic/kibana/assets/12370520/c3b4fd1e-8ffd-43ab-8d58-130d70cc7767)| #### Filtered alert <img src="https://github.com/elastic/kibana/assets/12370520/edd01a7c-2f8e-4bba-92f9-46471d8acb2a" width="800"/> Note that, for the APM Latency threshold, we already had this variable pointing to the newly implemented alert details page. ## 🧪 How to test - Create an APM rule (besides the Latency threshold rule) - Create an action and add `context.alertDetailsUrl` variable in the message - After an alert is created, check the action message. The link should land on the `Alerts` page filtered for that specific alert instance --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
- Loading branch information
1 parent
3ddd74a
commit cec0a15
Showing
22 changed files
with
325 additions
and
190 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
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.