Skip to content

Comments

[Discover][Oblt] Move getDocViewer into the main observability root profile#225610

Merged
kpatticha merged 3 commits intoelastic:mainfrom
kpatticha:225408-clean-up-oblt-profile
Jun 30, 2025
Merged

[Discover][Oblt] Move getDocViewer into the main observability root profile#225610
kpatticha merged 3 commits intoelastic:mainfrom
kpatticha:225408-clean-up-oblt-profile

Conversation

@kpatticha
Copy link
Contributor

@kpatticha kpatticha commented Jun 27, 2025

close #225408

Summary

Follow on #224894 (comment)

Since the Attributes tab is now enabled by default, the separate observability-root-profile-with-attributes-tab profile is no longer needed. Moved getDocViewer into the main observability root profile to simplify the code.

Functionality remains unchanged; this is a code cleanup.

@kpatticha kpatticha requested review from a team as code owners June 27, 2025 10:43
@kpatticha kpatticha requested a review from a team June 27, 2025 10:43
@kpatticha kpatticha added backport:skip This PR does not require backporting v9.2.0 release_note:skip Skip the PR/issue when compiling release notes labels Jun 27, 2025
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #56 / InfraOps App Metrics UI Node Details #Asset Type: host without metrics Overview Tab "before all" hook for "cpuUsage tile should be shown"

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
discover 1340 1338 -2

Async chunks

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

id before after diff
discover 1.1MB 1.1MB -136.0B

Copy link
Contributor

@cauemarcondes cauemarcondes 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
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Code-only review, Data Discovery changes LGTM 👍

Just heads up that if this doesn't get backported to 9.1/8.19, telemetry events for those releases will be logged with observability-root-profile-with-attributes-tab for the root profile instead of observability-root-profile, which might be a little annoying to manage. I'm not sure if it technically should be backported post FF, but IMO it's a low risk change that basically amounts to fixing the profile, so I think it would be safe to do if you'd like to avoid this.

@kpatticha
Copy link
Contributor Author

Code-only review, Data Discovery changes LGTM 👍

Just heads up that if this doesn't get backported to 9.1/8.19, telemetry events for those releases will be logged with observability-root-profile-with-attributes-tab for the root profile instead of observability-root-profile, which might be a little annoying to manage. I'm not sure if it technically should be backported post FF, but IMO it's a low risk change that basically amounts to fixing the profile, so I think it would be safe to do if you'd like to avoid this.

That make sense. I will backport it

@kpatticha kpatticha merged commit 55b1ef5 into elastic:main Jun 30, 2025
10 checks passed
@kpatticha kpatticha added backport:version Backport to applied version labels and removed backport:skip This PR does not require backporting labels Jun 30, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jun 30, 2025
… profile (elastic#225610)

close elastic#225408
## Summary

Follow on
elastic#224894 (comment)

Since the Attributes tab is now enabled by default, the separate
observability-root-profile-with-attributes-tab profile is no longer
needed. Moved getDocViewer into the main observability root profile to
simplify the code.

Functionality remains unchanged; this is a code cleanup.

(cherry picked from commit 55b1ef5)
@kibanamachine
Copy link
Contributor

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jun 30, 2025
… profile (elastic#225610)

close elastic#225408
## Summary

Follow on
elastic#224894 (comment)

Since the Attributes tab is now enabled by default, the separate
observability-root-profile-with-attributes-tab profile is no longer
needed. Moved getDocViewer into the main observability root profile to
simplify the code.

Functionality remains unchanged; this is a code cleanup.

(cherry picked from commit 55b1ef5)
@kibanamachine
Copy link
Contributor

@kpatticha
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

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 Jun 30, 2025
…y root profile (#225610) (#225858)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Discover][Oblt] Move `getDocViewer` into the main observability root
profile (#225610)](#225610)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT
[{"author":{"name":"Katerina","email":"aikaterini.patticha@elastic.co"},"sourceCommit":{"committedDate":"2025-06-30T13:56:19Z","message":"[Discover][Oblt]
Move `getDocViewer` into the main observability root profile
(#225610)\n\nclose https://github.com/elastic/kibana/issues/225408\n##
Summary\n\nFollow
on\nhttps://github.com//pull/224894#issuecomment-3004090408\n\nSince
the Attributes tab is now enabled by default, the
separate\nobservability-root-profile-with-attributes-tab profile is no
longer\nneeded. Moved getDocViewer into the main observability root
profile to\nsimplify the code.\n\nFunctionality remains unchanged; this
is a code
cleanup.","sha":"55b1ef515f12f5bc9516143ce51ec07e4ad679dd","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Discover][Oblt]
Move `getDocViewer` into the main observability root
profile","number":225610,"url":"https://github.com/elastic/kibana/pull/225610","mergeCommit":{"message":"[Discover][Oblt]
Move `getDocViewer` into the main observability root profile
(#225610)\n\nclose https://github.com/elastic/kibana/issues/225408\n##
Summary\n\nFollow
on\nhttps://github.com//pull/224894#issuecomment-3004090408\n\nSince
the Attributes tab is now enabled by default, the
separate\nobservability-root-profile-with-attributes-tab profile is no
longer\nneeded. Moved getDocViewer into the main observability root
profile to\nsimplify the code.\n\nFunctionality remains unchanged; this
is a code
cleanup.","sha":"55b1ef515f12f5bc9516143ce51ec07e4ad679dd"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/225610","number":225610,"mergeCommit":{"message":"[Discover][Oblt]
Move `getDocViewer` into the main observability root profile
(#225610)\n\nclose https://github.com/elastic/kibana/issues/225408\n##
Summary\n\nFollow
on\nhttps://github.com//pull/224894#issuecomment-3004090408\n\nSince
the Attributes tab is now enabled by default, the
separate\nobservability-root-profile-with-attributes-tab profile is no
longer\nneeded. Moved getDocViewer into the main observability root
profile to\nsimplify the code.\n\nFunctionality remains unchanged; this
is a code
cleanup.","sha":"55b1ef515f12f5bc9516143ce51ec07e4ad679dd"}}]}]
BACKPORT-->

Co-authored-by: Katerina <aikaterini.patticha@elastic.co>
kpatticha added a commit that referenced this pull request Jul 1, 2025
…ty root profile (#225610) (#225860)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Discover][Oblt] Move `getDocViewer` into the main observability root
profile (#225610)](#225610)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT
[{"author":{"name":"Katerina","email":"aikaterini.patticha@elastic.co"},"sourceCommit":{"committedDate":"2025-06-30T13:56:19Z","message":"[Discover][Oblt]
Move `getDocViewer` into the main observability root profile
(#225610)\n\nclose https://github.com/elastic/kibana/issues/225408\n##
Summary\n\nFollow
on\nhttps://github.com//pull/224894#issuecomment-3004090408\n\nSince
the Attributes tab is now enabled by default, the
separate\nobservability-root-profile-with-attributes-tab profile is no
longer\nneeded. Moved getDocViewer into the main observability root
profile to\nsimplify the code.\n\nFunctionality remains unchanged; this
is a code
cleanup.","sha":"55b1ef515f12f5bc9516143ce51ec07e4ad679dd","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[Discover][Oblt]
Move `getDocViewer` into the main observability root
profile","number":225610,"url":"https://github.com/elastic/kibana/pull/225610","mergeCommit":{"message":"[Discover][Oblt]
Move `getDocViewer` into the main observability root profile
(#225610)\n\nclose https://github.com/elastic/kibana/issues/225408\n##
Summary\n\nFollow
on\nhttps://github.com//pull/224894#issuecomment-3004090408\n\nSince
the Attributes tab is now enabled by default, the
separate\nobservability-root-profile-with-attributes-tab profile is no
longer\nneeded. Moved getDocViewer into the main observability root
profile to\nsimplify the code.\n\nFunctionality remains unchanged; this
is a code
cleanup.","sha":"55b1ef515f12f5bc9516143ce51ec07e4ad679dd"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/225858","number":225858,"state":"OPEN"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/225610","number":225610,"mergeCommit":{"message":"[Discover][Oblt]
Move `getDocViewer` into the main observability root profile
(#225610)\n\nclose https://github.com/elastic/kibana/issues/225408\n##
Summary\n\nFollow
on\nhttps://github.com//pull/224894#issuecomment-3004090408\n\nSince
the Attributes tab is now enabled by default, the
separate\nobservability-root-profile-with-attributes-tab profile is no
longer\nneeded. Moved getDocViewer into the main observability root
profile to\nsimplify the code.\n\nFunctionality remains unchanged; this
is a code
cleanup.","sha":"55b1ef515f12f5bc9516143ce51ec07e4ad679dd"}}]}]
BACKPORT-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes v8.19.0 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Discover][OTel] Use observability root profile

5 participants