Skip to content

[8.19] Linked dashboards in Rule and Alert pages (#219019)#221598

Merged
mgiota merged 2 commits intoelastic:8.19from
mgiota:backport/8.19/pr-219019
May 27, 2025
Merged

[8.19] Linked dashboards in Rule and Alert pages (#219019)#221598
mgiota merged 2 commits intoelastic:8.19from
mgiota:backport/8.19/pr-219019

Conversation

@mgiota
Copy link
Contributor

@mgiota mgiota commented May 27, 2025

Backport

This will backport the following commits from main to 8.19:

Questions ?

Please refer to the Backport tool documentation

@mgiota mgiota requested a review from kibanamachine as a code owner May 27, 2025 10:27
@mgiota mgiota added the backport This PR is a backport of another PR label May 27, 2025
@mgiota mgiota enabled auto-merge (squash) May 27, 2025 10:27
@botelastic botelastic bot added the Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. label May 27, 2025
@elasticmachine
Copy link
Contributor

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

Fixes elastic#214522
Fixes elastic#214523

This PR includes the UI of:

1. `linking dashboards` in the `rule configuration` page/flyout in both
`Stack Management` and `o11y` rules pages
2. displaying the `Related dashboards` in the o11y `Alert details` page.

<img width="500" alt="Screenshot 2025-05-21 at 15 38 38"
src="https://github.com/user-attachments/assets/c1011c34-faa6-493b-864b-f94fd09f0217"
/>

<img width="500" alt="Screenshot 2025-05-21 at 16 37 09"
src="https://github.com/user-attachments/assets/e1a5c2db-b481-4884-beb4-5a4a72d79cbc"
/>

<img width="500" alt="Screenshot 2025-05-21 at 15 42 19"
src="https://github.com/user-attachments/assets/646359de-879c-4970-8d39-626103090765"
/>

<img width="500" alt="Screenshot 2025-05-21 at 16 35 03"
src="https://github.com/user-attachments/assets/433edcc7-23a5-44e9-9bf7-53add9e4e132"
/>

<img width="500" alt="Screenshot 2025-05-07 at 14 25 17"
src="https://github.com/user-attachments/assets/5afda303-30e4-42a6-85d0-5687cc75f560"
/>

- user should be able to `link dashboards` during rule creation in both
Stack Management and `o11y` Rule pages
- user should be able to `update` the linked dashboards in both `Stack
Management` and `o11y` Rule pages
- user should be able to view the linked dashboards in a new `Related
dashboards` tab in the `Alert Details` page
- user should be able to go to the dashboard page when clicking on the
dashboard title

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
(cherry picked from commit 9533a15)
@mgiota mgiota force-pushed the backport/8.19/pr-219019 branch from fdb051f to 1c5de5c Compare May 27, 2025 12:23
@mgiota mgiota self-assigned this May 27, 2025
@mgiota mgiota disabled auto-merge May 27, 2025 12:53
@mgiota mgiota enabled auto-merge (squash) May 27, 2025 13:59
@mgiota mgiota merged commit f025514 into elastic:8.19 May 27, 2025
8 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1914 1916 +2
discover 1271 1273 +2
infra 1737 1739 +2
lens 1582 1584 +2
ml 2418 2420 +2
monitoring 722 724 +2
observability 1271 1277 +6
observabilityLogsExplorer 413 415 +2
slo 1149 1151 +2
synthetics 1207 1209 +2
transform 706 708 +2
triggersActionsUi 824 826 +2
uptime 788 790 +2
total +30

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/response-ops-rule-form 183 187 +4
dashboard 84 85 +1
observability 760 761 +1
triggersActionsUi 534 535 +1
total +7

Async chunks

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

id before after diff
apm 2.6MB 2.6MB +2.4KB
discover 999.5KB 1001.9KB +2.4KB
infra 1.6MB 1.6MB +2.4KB
lens 1.5MB 1.5MB +2.4KB
ml 5.4MB 5.4MB +2.4KB
monitoring 660.4KB 662.8KB +2.4KB
observability 1.3MB 1.3MB +4.7KB
observabilityLogsExplorer 260.2KB 262.6KB +2.4KB
slo 938.7KB 941.1KB +2.4KB
synthetics 975.1KB 977.5KB +2.4KB
transform 627.7KB 630.1KB +2.4KB
triggersActionsUi 1.4MB 1.4MB +2.4KB
uptime 495.3KB 497.7KB +2.4KB
total +33.5KB

Page load bundle

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

id before after diff
triggersActionsUi 108.1KB 108.1KB +31.0B
Unknown metric groups

API count

id before after diff
@kbn/response-ops-rule-form 184 188 +4
dashboard 89 90 +1
observability 767 768 +1
triggersActionsUi 540 541 +1
total +7

History

cc @mgiota

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants