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

[ilm] Remove observability solution dependency on index lifecycle management plugin bundle #199383

Merged
merged 9 commits into from
Nov 11, 2024

Conversation

mattkime
Copy link
Contributor

@mattkime mattkime commented Nov 7, 2024

Create package for observability solution's dependencies from index lifecycle management. Previously it relied on the plugin bundle but thats best avoided with our sustainable architecture efforts.

Part of https://github.com/elastic/kibana-team/issues/1179

@mattkime
Copy link
Contributor Author

mattkime commented Nov 7, 2024

/ci

@mattkime
Copy link
Contributor Author

mattkime commented Nov 8, 2024

/ci

@mattkime
Copy link
Contributor Author

mattkime commented Nov 8, 2024

/ci

@mattkime
Copy link
Contributor Author

mattkime commented Nov 8, 2024

/ci

@mattkime mattkime self-assigned this Nov 8, 2024
@mattkime mattkime added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Feature:ILM release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Nov 8, 2024
@mattkime mattkime changed the title move some dependencies to package [ilm] Remove observability solution dependency on index lifecycle management plugin bundle Nov 8, 2024
@mattkime mattkime marked this pull request as ready for review November 8, 2024 04:57
@mattkime mattkime requested review from a team as code owners November 8, 2024 04:57
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-management (Team:Kibana Management)

Copy link
Member

@maryam-saeidi maryam-saeidi left a comment

Choose a reason for hiding this comment

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

Import changes LGTM!

@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team labels Nov 8, 2024
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

github-actions bot commented Nov 8, 2024

🤖 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
Member

@afharo afharo left a comment

Choose a reason for hiding this comment

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

kibana.jsonc LGTM

Copy link
Contributor

@ElenaStoeva ElenaStoeva left a comment

Choose a reason for hiding this comment

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

Changes lgtm, tested ILM app locally.

@elasticmachine
Copy link
Contributor

elasticmachine commented Nov 10, 2024

💚 Build Succeeded

  • Buildkite Build
  • Commit: 3440fc5
  • Kibana Serverless Image: docker.elastic.co/kibana-ci/kibana-serverless:pr-199383-3440fc5ec9ff

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
indexLifecycleManagement 259 261 +2
synthetics 1037 1039 +2
total +4

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/index-lifecycle-management-common-shared - 73 +73

Async chunks

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

id before after diff
synthetics 1.1MB 1.1MB -25.0B

Page load bundle

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

id before after diff
synthetics 37.6KB 37.5KB -154.0B
Unknown metric groups

API count

id before after diff
@kbn/index-lifecycle-management-common-shared - 75 +75

References to deprecated APIs

id before after diff
indexLifecycleManagement 1 18 +17

History

cc @mattkime

@mattkime mattkime merged commit d805546 into elastic:main Nov 11, 2024
42 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [OpenAPI][Fleet] Add missing operation summaries (#199548)
- Update serverless link targets (#199396)
- [Fleet] fix create package policy test (#199477)

Manual backport

To create the backport manually run:

node scripts/backport --pr 199383

Questions ?

Please refer to the Backport tool documentation

mattkime added a commit to mattkime/kibana that referenced this pull request Nov 11, 2024
…agement plugin bundle (elastic#199383)

Create package for observability solution's dependencies from index
lifecycle management. Previously it relied on the plugin bundle but
thats best avoided with our sustainable architecture efforts.

Part of elastic/kibana-team#1179

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d805546)

# Conflicts:
#	.github/CODEOWNERS
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Nov 11, 2024
…agement plugin bundle (elastic#199383)

Create package for observability solution's dependencies from index
lifecycle management. Previously it relied on the plugin bundle but
thats best avoided with our sustainable architecture efforts.

Part of elastic/kibana-team#1179

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Nov 12, 2024
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 199383 locally

tkajtoch pushed a commit to tkajtoch/kibana that referenced this pull request Nov 12, 2024
…agement plugin bundle (elastic#199383)

Create package for observability solution's dependencies from index
lifecycle management. Previously it relied on the plugin bundle but
thats best avoided with our sustainable architecture efforts.

Part of elastic/kibana-team#1179

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 199383 locally

@mattkime
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x

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

Questions ?

Please refer to the Backport tool documentation

mattkime added a commit to mattkime/kibana that referenced this pull request Nov 13, 2024
…agement plugin bundle (elastic#199383)

Create package for observability solution's dependencies from index
lifecycle management. Previously it relied on the plugin bundle but
thats best avoided with our sustainable architecture efforts.

Part of elastic/kibana-team#1179

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit d805546)

# Conflicts:
#	.github/CODEOWNERS
#	package.json
#	tsconfig.base.json
#	yarn.lock
@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.

mattkime added a commit that referenced this pull request Nov 14, 2024
…le management plugin bundle (#199383) (#199986)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[ilm] Remove observability solution dependency on index lifecycle
management plugin bundle
(#199383)](#199383)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Matthew
Kime","email":"matt@mattki.me"},"sourceCommit":{"committedDate":"2024-11-11T02:18:49Z","message":"[ilm]
Remove observability solution dependency on index lifecycle management
plugin bundle (#199383)\n\nCreate package for observability solution's
dependencies from index\r\nlifecycle management. Previously it relied on
the plugin bundle but\r\nthats best avoided with our sustainable
architecture efforts.\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1179\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d8055465071542e84059250aecc8f8fc81bf72f4","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:ILM","Team:Kibana
Management","release_note:skip","backport
missing","v9.0.0","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management"],"number":199383,"url":"https://github.com/elastic/kibana/pull/199383","mergeCommit":{"message":"[ilm]
Remove observability solution dependency on index lifecycle management
plugin bundle (#199383)\n\nCreate package for observability solution's
dependencies from index\r\nlifecycle management. Previously it relied on
the plugin bundle but\r\nthats best avoided with our sustainable
architecture efforts.\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1179\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d8055465071542e84059250aecc8f8fc81bf72f4"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199383","number":199383,"mergeCommit":{"message":"[ilm]
Remove observability solution dependency on index lifecycle management
plugin bundle (#199383)\n\nCreate package for observability solution's
dependencies from index\r\nlifecycle management. Previously it relied on
the plugin bundle but\r\nthats best avoided with our sustainable
architecture efforts.\r\n\r\nPart of
https://github.com/elastic/kibana-team/issues/1179\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"d8055465071542e84059250aecc8f8fc81bf72f4"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added v8.17.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) ci:project-deploy-observability Create an Observability project Feature:ILM release_note:skip Skip the PR/issue when compiling release notes Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more Team:obs-ux-management Observability Management User Experience Team v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants