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

[SLO] fix slo locator path #183560

Merged
merged 4 commits into from
May 16, 2024
Merged

Conversation

mgiota
Copy link
Contributor

@mgiota mgiota commented May 15, 2024

Fixes #183428

Before the fix

Screen.Recording.2024-05-15.at.22.18.14.mov

After

Screen.Recording.2024-05-15.at.22.16.47.mov

@mgiota mgiota self-assigned this May 15, 2024
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@@ -29,9 +29,7 @@ export class SloEditLocatorDefinition implements LocatorDefinition<SloEditLocato
...slo,
},
{ useHash: false, storeInHashQuery: false },
slo.id
? `${SLO_PREFIX}/edit/${encodeURIComponent(String(slo.id))}`
: `${SLO_PREFIX}${SLO_CREATE_PATH}`
Copy link
Contributor Author

@mgiota mgiota May 15, 2024

Choose a reason for hiding this comment

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

@kdelemme I searched for SLO_PREFIX in the slo folder and it looks like it is also used in the slo_details and slo_list locators. I will remove from there as well and will get rid of SLO_PREFIX since it is not used anywhere else. Let me know what you think.

@mgiota mgiota changed the title fix slo locator path [SLO] fix slo locator path May 15, 2024
@mgiota mgiota marked this pull request as ready for review May 15, 2024 20:22
@mgiota mgiota requested a review from a team as a code owner May 15, 2024 20:22
@mgiota mgiota requested a review from kdelemme May 15, 2024 20:23
@mgiota mgiota added bug Fixes for quality problems that affect the customer experience v8.14.0 Team:obs-ux-management Observability Management User Experience Team labels May 15, 2024
@elasticmachine
Copy link
Contributor

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

@mgiota mgiota added release_note:skip Skip the PR/issue when compiling release notes v8.15.0 labels May 15, 2024
@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label May 15, 2024
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

@mgiota mgiota enabled auto-merge (squash) May 15, 2024 21:40
@kibana-ci
Copy link
Collaborator

kibana-ci commented May 15, 2024

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #46 / lens app - group 6 lens reporting PDF report should be able to download report of the current visualization

Metrics [docs]

Canvas Sharable Runtime

The Canvas "shareable runtime" is an bundle produced to enable running Canvas workpads outside of Kibana. This bundle is included in third-party webpages that embed canvas and therefor should be as slim as possible.

id before after diff
module count - 5405 +5405
total size - 8.8MB +8.8MB

Page load bundle

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

id before after diff
slo 23.2KB 23.2KB -62.0B

History

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

cc @mgiota

@mgiota mgiota merged commit 8b10ce2 into elastic:main May 16, 2024
22 checks passed
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.14

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request May 16, 2024
# Backport

This will backport the following commits from `main` to `8.14`:
- [[SLO] fix slo locator path
(#183560)](#183560)

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

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

<!--BACKPORT [{"author":{"name":"Panagiota
Mitsopoulou","email":"panagiota.mitsopoulou@elastic.co"},"sourceCommit":{"committedDate":"2024-05-16T00:12:53Z","message":"[SLO]
fix slo locator path (#183560)\n\nFixes
#183428 the
fix**\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2852703/c3783c0e-fafa-4fee-8f83-a2a1804ae3c7\r\n\r\n\r\n\r\n**After**\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2852703/f105f967-9c23-46ed-8c9f-1d2f8c288b03","sha":"8b10ce2f70359fa0537eb89d2ca982bd7a3c8a5b","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","ci:project-deploy-observability","Team:obs-ux-management","v8.14.0","v8.15.0"],"title":"[SLO]
fix slo locator
path","number":183560,"url":"#183560
fix slo locator path (#183560)\n\nFixes
#183428 the
fix**\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2852703/c3783c0e-fafa-4fee-8f83-a2a1804ae3c7\r\n\r\n\r\n\r\n**After**\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2852703/f105f967-9c23-46ed-8c9f-1d2f8c288b03","sha":"8b10ce2f70359fa0537eb89d2ca982bd7a3c8a5b"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"#183560
fix slo locator path (#183560)\n\nFixes
#183428 the
fix**\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2852703/c3783c0e-fafa-4fee-8f83-a2a1804ae3c7\r\n\r\n\r\n\r\n**After**\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/2852703/f105f967-9c23-46ed-8c9f-1d2f8c288b03","sha":"8b10ce2f70359fa0537eb89d2ca982bd7a3c8a5b"}}]}]
BACKPORT-->

Co-authored-by: Panagiota Mitsopoulou <panagiota.mitsopoulou@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team v8.14.0 v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SLO] APM callout for creating SLO redirects to an invalid URL
6 participants