Skip to content
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

[8.x] [Alert details page] Add related alerts tab to the alert details page (#193263) #193583

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…elastic#193263)

Closes elastic#188014

## Summary

This PR adds a related alerts tab to the alert details page and saves
the filters in the URL. The logic for filtering alerts:

- Alerts that have tags similar to the existing alert (one or more)
- Alerts for similar group by/source fields ("or" logic)
- Either at the root level (e.g. host.hostname: 'host-1'), or have this
information available in `kibana.alert.group.value`.

By default, we filter to only show active alerts.

|Alert|Related alerts|
|---|---|

|![image](https://github.com/user-attachments/assets/2117d41b-85d6-4d09-836f-d0a0858f0f89)|![image](https://github.com/user-attachments/assets/df3cb061-122e-451c-94e5-1bbcda74cabc)|

|![image](https://github.com/user-attachments/assets/4308afdf-5940-49b6-80a3-bfe9de23c805)|![image](https://github.com/user-attachments/assets/43011507-1148-4188-aa12-f8692c0e6ccf)|

#### Follow-up work
I will create some follow-up tickets for these topics.
- Selecting `Rule name` as the default group by and opening the first
group
- Considering adding an event timeline to this tab
- Showing the number of active alerts in the tab

(cherry picked from commit 96dd4c7)
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
observability 1056 1058 +2

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
observability 463.6KB 467.3KB +3.7KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observability 102.6KB 102.7KB +39.0B
Unknown metric groups

async chunk count

id before after diff
observability 20 19 -1

ESLint disabled line counts

id before after diff
observability 41 43 +2

Total ESLint disabled count

id before after diff
observability 45 47 +2

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @maryam-saeidi

@kibanamachine kibanamachine merged commit d7f6853 into elastic:8.x Sep 20, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants