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

[APM] Update onboarding link to use locator with "application" as category parameter #197780

Conversation

iblancof
Copy link
Contributor

@iblancof iblancof commented Oct 25, 2024

Summary

Closes #197590.

This PR addresses an issue with the onboarding link used by the addApmData constant, where the "Application" option fails to preselect. The issue is caused by the URL being incorrectly formed, with the category parameter set to apm instead of application.

To resolve this, the PR introduces two main changes:

  • Update to use the correct locator
  • Modify the category parameter to use application instead of apm
Before After
before after

@iblancof iblancof added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (9.0) the previous minor version (i.e. one version back from main) Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.16.0 v8.17.0 labels Oct 25, 2024
@iblancof iblancof self-assigned this Oct 25, 2024
@iblancof iblancof requested a review from a team as a code owner October 25, 2024 09:09
@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Oct 25, 2024
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!)

Copy link
Contributor

@rmyz rmyz left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@jennypavlova jennypavlova left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 (just some nits)

@elasticmachine
Copy link
Contributor

elasticmachine commented Oct 25, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 05e527c
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-197780-05e527ca90a6

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
apm 1880 1881 +1

Async chunks

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

id before after diff
apm 3.4MB 3.4MB +202.0B

History

cc @iblancof

@iblancof iblancof merged commit 4798c59 into elastic:main Oct 25, 2024
25 checks passed
@iblancof iblancof deleted the 197590-apm-update-onboarding-link-to-use-locator-with-application-as-category-parameter branch October 25, 2024 12:28
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 25, 2024
…egory parameter (elastic#197780)

## Summary

Closes elastic#197590.

This PR addresses an issue with the onboarding link used by the
`addApmData` constant, where the "Application" option fails to
preselect. The issue is caused by the URL being incorrectly formed, with
the category parameter set to `apm` instead of `application`.

To resolve this, the PR introduces two main changes:
- Update to use the correct locator
- Modify the category parameter to use `application` instead of `apm`

|Before|After|
|-|-|

|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|

(cherry picked from commit 4798c59)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 25, 2024
…egory parameter (elastic#197780)

## Summary

Closes elastic#197590.

This PR addresses an issue with the onboarding link used by the
`addApmData` constant, where the "Application" option fails to
preselect. The issue is caused by the URL being incorrectly formed, with
the category parameter set to `apm` instead of `application`.

To resolve this, the PR introduces two main changes:
- Update to use the correct locator
- Modify the category parameter to use `application` instead of `apm`

|Before|After|
|-|-|

|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|

(cherry picked from commit 4798c59)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.16
8.x

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 Oct 25, 2024
…ion" as category parameter (#197780) (#197820)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[APM] Update onboarding link to use locator with
"application" as category parameter
(#197780)](#197780)

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

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

<!--BACKPORT [{"author":{"name":"Irene
Blanco","email":"irene.blanco@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T12:27:55Z","message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0","v8.17.0"],"title":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter","number":197780,"url":"https://github.com/elastic/kibana/pull/197780","mergeCommit":{"message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197780","number":197780,"mergeCommit":{"message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Irene Blanco <irene.blanco@elastic.co>
kibanamachine added a commit that referenced this pull request Oct 25, 2024
…tion&quot; as category parameter (#197780) (#197819)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[APM] Update onboarding link to use locator with
&quot;application&quot; as category parameter
(#197780)](#197780)

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

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

<!--BACKPORT [{"author":{"name":"Irene
Blanco","email":"irene.blanco@elastic.co"},"sourceCommit":{"committedDate":"2024-10-25T12:27:55Z","message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-infra_services","v8.16.0","v8.17.0"],"title":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter","number":197780,"url":"https://github.com/elastic/kibana/pull/197780","mergeCommit":{"message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197780","number":197780,"mergeCommit":{"message":"[APM]
Update onboarding link to use locator with \"application\" as category
parameter (#197780)\n\n## Summary\r\n\r\nCloses
https://github.com/elastic/kibana/issues/197590.\r\n\r\nThis PR
addresses an issue with the onboarding link used by the\r\n`addApmData`
constant, where the \"Application\" option fails to\r\npreselect. The
issue is caused by the URL being incorrectly formed, with\r\nthe
category parameter set to `apm` instead of `application`.\r\n\r\nTo
resolve this, the PR introduces two main changes:\r\n- Update to use the
correct locator\r\n- Modify the category parameter to use `application`
instead of
`apm`\r\n\r\n|Before|After|\r\n|-|-|\r\n\r\n|![before](https://github.com/user-attachments/assets/650066b8-85a8-4ff4-a7eb-fef46708ea9d)|![after](https://github.com/user-attachments/assets/508bb258-e2c2-4057-9242-653864548e4a)|","sha":"4798c59158f2bd7dc09bfd07c8ab69bcfb23c0b8"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Irene Blanco <irene.blanco@elastic.co>
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) ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team v8.16.0 v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Update onboarding link to use locator with "application" as category parameter
6 participants