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

Add location, fix name badge links for Synthetics SLOs #210695

Merged

Conversation

baileycash-elastic
Copy link
Contributor

@baileycash-elastic baileycash-elastic commented Feb 11, 2025

Summary

Release Notes

  • Fixes a bug where clicking on the name badge for a synthetics monitor on an SLO details page would lead to a page that failed to load monitor details.
  • Adds a working link to the location badge on synthetics SLOs that will route the user to the monitors page with a filter applied that matches the location of the origin SLO.

Screenshot 2025-02-11 at 3 31 15 PM
Screenshot 2025-02-11 at 3 31 34 PM

@baileycash-elastic baileycash-elastic changed the title Slo synth monitor locators Add location, fix name badge links for Synthetics SLOs Feb 11, 2025
@baileycash-elastic baileycash-elastic added v9.0.0 v9.1.0 backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) v8.19.0 Team:obs-ux-management Observability Management User Experience Team release_note:fix release_note:enhancement labels Feb 11, 2025
@baileycash-elastic baileycash-elastic marked this pull request as ready for review February 12, 2025 04:17
@baileycash-elastic baileycash-elastic requested a review from a team as a code owner February 12, 2025 04:17
@elasticmachine
Copy link
Contributor

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

@kdelemme kdelemme self-requested a review February 12, 2025 15:47
@kdelemme kdelemme removed the v8.19.0 label Feb 12, 2025
Copy link
Contributor

@kdelemme kdelemme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #10 / Visualize smoke telemetry tests should trigger render event for "agg based" legacy_metric visualization
  • [job] [logs] FTR Configs #19 / X-Pack Accessibility Tests - Group 1 uptime Accessibility detail page

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
synthetics 988 989 +1

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
observability 699 700 +1

Async chunks

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

id before after diff
slo 878.8KB 879.1KB +300.0B

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.5KB 102.6KB +121.0B
synthetics 38.5KB 38.7KB +162.0B
total +283.0B
Unknown metric groups

API count

id before after diff
observability 707 708 +1

History

@baileycash-elastic baileycash-elastic force-pushed the slo-synth-monitor-locators branch from b4e19d4 to 0ba39c9 Compare February 12, 2025 18:19
@baileycash-elastic baileycash-elastic enabled auto-merge (squash) February 12, 2025 18:26
@baileycash-elastic baileycash-elastic merged commit 4d3cf33 into elastic:main Feb 12, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.0

https://github.com/elastic/kibana/actions/runs/13293935708

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 12, 2025
## Summary

- Implements elastic#178138
- Fixes a bug where clicking on the existing link to the monitor via the
name badge led failed to load any data.

## Release Notes
- Fixes a bug where clicking on the name badge for a synthetics monitor
on an SLO details page would lead to a page that failed to load monitor
details.
- Adds a working link to the location badge on synthetics SLOs that will
route the user to the monitors page with a filter applied that matches
the location of the origin SLO.

![Screenshot 2025-02-11 at 3 31
15 PM](https://github.com/user-attachments/assets/1df39069-fc42-4c33-a7e5-8395b2730f43)
![Screenshot 2025-02-11 at 3 31
34 PM](https://github.com/user-attachments/assets/f1b3180f-eb9c-4f3b-9ff6-66bd4d1f8d5b)

(cherry picked from commit 4d3cf33)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 14, 2025
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

1 similar comment
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

kibanamachine added a commit that referenced this pull request Feb 18, 2025
#210930)

# Backport

This will backport the following commits from `main` to `9.0`:
- [Add location, fix name badge links for Synthetics SLOs
(#210695)](#210695)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Bailey
Cash","email":"bailey.cash@elastic.co"},"sourceCommit":{"committedDate":"2025-02-12T20:08:13Z","message":"Add
location, fix name badge links for Synthetics SLOs (#210695)\n\n##
Summary\r\n\r\n- Implements #178138 \r\n- Fixes a bug where clicking on
the existing link to the monitor via the\r\nname badge led failed to
load any data.\r\n\r\n## Release Notes\r\n- Fixes a bug where clicking
on the name badge for a synthetics monitor\r\non an SLO details page
would lead to a page that failed to load monitor\r\ndetails.\r\n- Adds a
working link to the location badge on synthetics SLOs that will\r\nroute
the user to the monitors page with a filter applied that matches\r\nthe
location of the origin SLO.\r\n\r\n![Screenshot 2025-02-11 at 3
31\r\n15 PM](https://github.com/user-attachments/assets/1df39069-fc42-4c33-a7e5-8395b2730f43)\r\n![Screenshot
2025-02-11 at 3
31\r\n34 PM](https://github.com/user-attachments/assets/f1b3180f-eb9c-4f3b-9ff6-66bd4d1f8d5b)","sha":"4d3cf33ffd6d561cb73c1bccd53c643f3846cc1e","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","release_note:fix","v9.0.0","backport:prev-minor","Team:obs-ux-management","v9.1.0"],"title":"Add
location, fix name badge links for Synthetics
SLOs","number":210695,"url":"https://github.com/elastic/kibana/pull/210695","mergeCommit":{"message":"Add
location, fix name badge links for Synthetics SLOs (#210695)\n\n##
Summary\r\n\r\n- Implements #178138 \r\n- Fixes a bug where clicking on
the existing link to the monitor via the\r\nname badge led failed to
load any data.\r\n\r\n## Release Notes\r\n- Fixes a bug where clicking
on the name badge for a synthetics monitor\r\non an SLO details page
would lead to a page that failed to load monitor\r\ndetails.\r\n- Adds a
working link to the location badge on synthetics SLOs that will\r\nroute
the user to the monitors page with a filter applied that matches\r\nthe
location of the origin SLO.\r\n\r\n![Screenshot 2025-02-11 at 3
31\r\n15 PM](https://github.com/user-attachments/assets/1df39069-fc42-4c33-a7e5-8395b2730f43)\r\n![Screenshot
2025-02-11 at 3
31\r\n34 PM](https://github.com/user-attachments/assets/f1b3180f-eb9c-4f3b-9ff6-66bd4d1f8d5b)","sha":"4d3cf33ffd6d561cb73c1bccd53c643f3846cc1e"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210695","number":210695,"mergeCommit":{"message":"Add
location, fix name badge links for Synthetics SLOs (#210695)\n\n##
Summary\r\n\r\n- Implements #178138 \r\n- Fixes a bug where clicking on
the existing link to the monitor via the\r\nname badge led failed to
load any data.\r\n\r\n## Release Notes\r\n- Fixes a bug where clicking
on the name badge for a synthetics monitor\r\non an SLO details page
would lead to a page that failed to load monitor\r\ndetails.\r\n- Adds a
working link to the location badge on synthetics SLOs that will\r\nroute
the user to the monitors page with a filter applied that matches\r\nthe
location of the origin SLO.\r\n\r\n![Screenshot 2025-02-11 at 3
31\r\n15 PM](https://github.com/user-attachments/assets/1df39069-fc42-4c33-a7e5-8395b2730f43)\r\n![Screenshot
2025-02-11 at 3
31\r\n34 PM](https://github.com/user-attachments/assets/f1b3180f-eb9c-4f3b-9ff6-66bd4d1f8d5b)","sha":"4d3cf33ffd6d561cb73c1bccd53c643f3846cc1e"}}]}]
BACKPORT-->

Co-authored-by: Bailey Cash <bailey.cash@elastic.co>
Co-authored-by: Shahzad <shahzad31comp@gmail.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) release_note:enhancement release_note:fix Team:obs-ux-management Observability Management User Experience Team v9.0.0 v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants