[8.x] Sustainable Kibana Architecture: Move modules owned by @elastic/obs-ux-infra_services-team (#202830) (#205231)

# Backport

This will backport the following commits from `main` to `8.x`:
- [Sustainable Kibana Architecture: Move modules owned by
`@elastic/obs-ux-infra_services-team`
(#202830)](https://github.com/elastic/kibana/pull/202830)

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

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

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2024-12-29T08:58:37Z","message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-infra_services-team` (#202830)\n\n##
Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules
(plugins and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
6 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/apm-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/apm_data_access` |\r\n|
`@kbn/apm-plugin` | `x-pack/solutions/observability/plugins/apm` |\r\n|
`@kbn/inventory-plugin`
|\r\n`x-pack/solutions/observability/plugins/inventory` |\r\n|
`@kbn/metrics-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/metrics_data_access` |\r\n|
`@kbn/profiling-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/profiling_data_access`
|\r\n| `@kbn/profiling-plugin`
|\r\n`x-pack/solutions/observability/plugins/profiling`
|\r\n\r\n\r\n\r\n\r\n#### 6 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/apm-data-view`
|\r\n`src/platform/packages/shared/kbn-apm-data-view` |\r\n|
`@kbn/apm-types`
|\r\n`x-pack/solutions/observability/packages/kbn-apm-types` |\r\n|
`@kbn/apm-utils` | `src/platform/packages/shared/kbn-apm-utils` |\r\n|
`@kbn/lens-embeddable-utils`
|\r\n`src/platform/packages/shared/kbn-lens-embeddable-utils` |\r\n|
`@kbn/profiling-utils`
|\r\n`src/platform/packages/shared/kbn-profiling-utils` |\r\n|
`@kbn/shared-svg` | `src/platform/packages/shared/kbn-shared-svg`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/scripts/steps/functional/apm_cypress.sh\r\n./.buildkite/scripts/steps/functional/inventory_cypress.sh\r\n./.buildkite/scripts/steps/functional/profiling_cypress.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.gitignore\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-profiling-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-shared-svg/jest.config.js\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts\r\n./x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts\r\n./x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/apm_queries.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/linting.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/local_setup.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/testing.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/updating_functional_tests_archives.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md\r\n./x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md\r\n./x-pack/solutions/observability/plugins/apm/jest.config.js\r\n./x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts\r\n./x-pack/solutions/observability/plugins/apm/scripts/precommit.js\r\n./x-pack/solutions/observability/plugins/apm/scripts/telemetry/main.ts\r\n./x-pack/solutions/observability/plugins/apm_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts\r\n./x-pack/solutions/observability/plugins/inventory/README.md\r\n./x-pack/solutions/observability/plugins/inventory/jest.config.js\r\n./x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/common/annotations.ts\r\n./x-pack/solutions/observability/plugins/profiling/README.md\r\n./x-pack/solutions/observability/plugins/profiling/e2e/README.md\r\n./x-pack/solutions/observability/plugins/profiling/jest.config.js\r\n./x-pack/solutions/observability/plugins/profiling_data_access/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-apm-data-view/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-apm-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-lens-embeddable-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-profiling-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-profiling-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-shared-svg/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-shared-svg/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-apm-types/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:17\r\nx-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:22\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:130\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:222\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:78\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:96\r\nx-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md:42\r\nx-pack/solutions/observability/plugins/apm/ftr_e2e/README.md:3\r\nx-pack/solutions/observability/plugins/apm/ftr_e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/jest.config.js:12\r\nx-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts:125\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:15\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:33\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:38\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:50\r\nx-pack/solutions/observability/plugins/apm/scripts/shared/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/apm/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/apm_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/inventory/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/inventory/jest.config.js:10\r\nx-pack/solutions/observability/plugins/inventory/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/inventory/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/metrics_data_access/jest.config.js:10\r\nx-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/profiling/README.md:52\r\nx-pack/solutions/observability/plugins/profiling/e2e/README.md:3\r\nx-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:11\r\nx-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/profiling/jest.config.js:10\r\nx-pack/solutions/observability/plugins/profiling/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/profiling_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/profiling_data_access/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8899fb8fa2d667d3ee36a3be28fb284de5056afc","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","backport:skip","v9.0.0","ci:project-deploy-observability","Team:obs-ux-infra_services","Team:obs-ux-management","plugin
groups"],"number":202830,"url":"https://github.com/elastic/kibana/pull/202830","mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-infra_services-team` (#202830)\n\n##
Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules
(plugins and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
6 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/apm-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/apm_data_access` |\r\n|
`@kbn/apm-plugin` | `x-pack/solutions/observability/plugins/apm` |\r\n|
`@kbn/inventory-plugin`
|\r\n`x-pack/solutions/observability/plugins/inventory` |\r\n|
`@kbn/metrics-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/metrics_data_access` |\r\n|
`@kbn/profiling-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/profiling_data_access`
|\r\n| `@kbn/profiling-plugin`
|\r\n`x-pack/solutions/observability/plugins/profiling`
|\r\n\r\n\r\n\r\n\r\n#### 6 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/apm-data-view`
|\r\n`src/platform/packages/shared/kbn-apm-data-view` |\r\n|
`@kbn/apm-types`
|\r\n`x-pack/solutions/observability/packages/kbn-apm-types` |\r\n|
`@kbn/apm-utils` | `src/platform/packages/shared/kbn-apm-utils` |\r\n|
`@kbn/lens-embeddable-utils`
|\r\n`src/platform/packages/shared/kbn-lens-embeddable-utils` |\r\n|
`@kbn/profiling-utils`
|\r\n`src/platform/packages/shared/kbn-profiling-utils` |\r\n|
`@kbn/shared-svg` | `src/platform/packages/shared/kbn-shared-svg`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/scripts/steps/functional/apm_cypress.sh\r\n./.buildkite/scripts/steps/functional/inventory_cypress.sh\r\n./.buildkite/scripts/steps/functional/profiling_cypress.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.gitignore\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-profiling-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-shared-svg/jest.config.js\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts\r\n./x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts\r\n./x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/apm_queries.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/linting.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/local_setup.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/testing.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/updating_functional_tests_archives.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md\r\n./x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md\r\n./x-pack/solutions/observability/plugins/apm/jest.config.js\r\n./x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts\r\n./x-pack/solutions/observability/plugins/apm/scripts/precommit.js\r\n./x-pack/solutions/observability/plugins/apm/scripts/telemetry/main.ts\r\n./x-pack/solutions/observability/plugins/apm_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts\r\n./x-pack/solutions/observability/plugins/inventory/README.md\r\n./x-pack/solutions/observability/plugins/inventory/jest.config.js\r\n./x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/common/annotations.ts\r\n./x-pack/solutions/observability/plugins/profiling/README.md\r\n./x-pack/solutions/observability/plugins/profiling/e2e/README.md\r\n./x-pack/solutions/observability/plugins/profiling/jest.config.js\r\n./x-pack/solutions/observability/plugins/profiling_data_access/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-apm-data-view/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-apm-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-lens-embeddable-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-profiling-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-profiling-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-shared-svg/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-shared-svg/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-apm-types/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:17\r\nx-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:22\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:130\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:222\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:78\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:96\r\nx-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md:42\r\nx-pack/solutions/observability/plugins/apm/ftr_e2e/README.md:3\r\nx-pack/solutions/observability/plugins/apm/ftr_e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/jest.config.js:12\r\nx-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts:125\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:15\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:33\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:38\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:50\r\nx-pack/solutions/observability/plugins/apm/scripts/shared/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/apm/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/apm_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/inventory/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/inventory/jest.config.js:10\r\nx-pack/solutions/observability/plugins/inventory/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/inventory/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/metrics_data_access/jest.config.js:10\r\nx-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/profiling/README.md:52\r\nx-pack/solutions/observability/plugins/profiling/e2e/README.md:3\r\nx-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:11\r\nx-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/profiling/jest.config.js:10\r\nx-pack/solutions/observability/plugins/profiling/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/profiling_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/profiling_data_access/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8899fb8fa2d667d3ee36a3be28fb284de5056afc"}},"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/202830","number":202830,"mergeCommit":{"message":"Sustainable
Kibana Architecture: Move modules owned by
`@elastic/obs-ux-infra_services-team` (#202830)\n\n##
Summary\r\n\r\nThis PR aims at relocating some of the Kibana modules
(plugins and\r\npackages) into a new folder structure, according to the
_Sustainable\r\nKibana Architecture_ initiative.\r\n\r\n>
[!IMPORTANT]\r\n> * We kindly ask you to:\r\n> * Manually fix the errors
in the error section below (if there are\r\nany).\r\n> * Search for the
`packages[\\/\\\\]` and `plugins[\\/\\\\]` patterns in the\r\nsource
code (Babel and Eslint config files), and update
them\r\nappropriately.\r\n> * Manually
review\r\n`.buildkite/scripts/pipelines/pull_request/pipeline.ts` to
ensure that\r\nany CI pipeline customizations continue to be correctly
applied after\r\nthe changed path names\r\n> * Review all of the updated
files, specially the `.ts` and `.js` files\r\nlisted in the sections
below, as some of them contain relative paths\r\nthat have been
updated.\r\n> * Think of potential impact of the move, including tooling
and\r\nconfiguration files that can be pointing to the relocated
modules. E.g.:\r\n> * customised eslint rules\r\n> * docs pointing to
source code\r\n\r\n> [!NOTE]\r\n> * This PR has been
auto-generated.\r\n> * Any manual contributions will be lost if the
'relocate' script is\r\nre-run.\r\n> * Try to obtain the missing reviews
/ approvals before applying manual\r\nfixes, and/or keep your changes in
a .patch / git stash.\r\n> * Please
use\r\n[#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E)\r\nSlack
channel for feedback.\r\n\r\nAre you trying to rebase this PR to solve
merge conflicts? Please follow\r\nthe steps
describe\r\n[here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E).\r\n\r\n####
6 plugin(s) are going to be relocated:\r\n\r\n| Id | Target folder
|\r\n| -- | ------------- |\r\n| `@kbn/apm-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/apm_data_access` |\r\n|
`@kbn/apm-plugin` | `x-pack/solutions/observability/plugins/apm` |\r\n|
`@kbn/inventory-plugin`
|\r\n`x-pack/solutions/observability/plugins/inventory` |\r\n|
`@kbn/metrics-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/metrics_data_access` |\r\n|
`@kbn/profiling-data-access-plugin`
|\r\n`x-pack/solutions/observability/plugins/profiling_data_access`
|\r\n| `@kbn/profiling-plugin`
|\r\n`x-pack/solutions/observability/plugins/profiling`
|\r\n\r\n\r\n\r\n\r\n#### 6 packages(s) are going to be
relocated:\r\n\r\n| Id | Target folder |\r\n| -- | ------------- |\r\n|
`@kbn/apm-data-view`
|\r\n`src/platform/packages/shared/kbn-apm-data-view` |\r\n|
`@kbn/apm-types`
|\r\n`x-pack/solutions/observability/packages/kbn-apm-types` |\r\n|
`@kbn/apm-utils` | `src/platform/packages/shared/kbn-apm-utils` |\r\n|
`@kbn/lens-embeddable-utils`
|\r\n`src/platform/packages/shared/kbn-lens-embeddable-utils` |\r\n|
`@kbn/profiling-utils`
|\r\n`src/platform/packages/shared/kbn-profiling-utils` |\r\n|
`@kbn/shared-svg` | `src/platform/packages/shared/kbn-shared-svg`
|\r\n\r\n\r\n<details >\r\n<summary>Updated
references</summary>\r\n\r\n```\r\n./.buildkite/ftr_oblt_stateful_configs.yml\r\n./.buildkite/scripts/steps/functional/apm_cypress.sh\r\n./.buildkite/scripts/steps/functional/inventory_cypress.sh\r\n./.buildkite/scripts/steps/functional/profiling_cypress.sh\r\n./.eslintrc.js\r\n./.github/paths-labeller.yml\r\n./.gitignore\r\n./docs/developer/plugin-list.asciidoc\r\n./oas_docs/overlays/alerting.overlays.yaml\r\n./oas_docs/scripts/merge_ess_oas.js\r\n./oas_docs/scripts/merge_serverless_oas.js\r\n./package.json\r\n./packages/kbn-eslint-plugin-i18n/helpers/get_i18n_identifier_from_file_path.test.ts\r\n./packages/kbn-eslint-plugin-telemetry/helpers/get_app_name.test.ts\r\n./packages/kbn-repo-packages/package-map.json\r\n./packages/kbn-ts-projects/config-paths.json\r\n./src/dev/precommit_hook/casing_check_config.js\r\n./src/dev/storybook/aliases.ts\r\n./src/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-profiling-utils/jest.config.js\r\n./src/platform/packages/shared/kbn-shared-svg/jest.config.js\r\n./tsconfig.base.json\r\n./x-pack/.i18nrc.json\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_index_info.ts\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_significant_term_p_values.ts\r\n./x-pack/platform/packages/shared/ml/aiops_log_rate_analysis/queries/fetch_top_terms.ts\r\n./x-pack/platform/plugins/private/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts\r\n./x-pack/solutions/observability/plugins/apm/common/rules/apm_rule_types.ts\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/apm_queries.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/linting.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/local_setup.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/testing.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/updating_functional_tests_archives.md\r\n./x-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md\r\n./x-pack/solutions/observability/plugins/apm/ftr_e2e/README.md\r\n./x-pack/solutions/observability/plugins/apm/jest.config.js\r\n./x-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts\r\n./x-pack/solutions/observability/plugins/apm/scripts/precommit.js\r\n./x-pack/solutions/observability/plugins/apm/scripts/telemetry/main.ts\r\n./x-pack/solutions/observability/plugins/apm_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/exploratory_view/common/annotations.ts\r\n./x-pack/solutions/observability/plugins/inventory/README.md\r\n./x-pack/solutions/observability/plugins/inventory/jest.config.js\r\n./x-pack/solutions/observability/plugins/metrics_data_access/jest.config.js\r\n./x-pack/solutions/observability/plugins/observability/common/annotations.ts\r\n./x-pack/solutions/observability/plugins/profiling/README.md\r\n./x-pack/solutions/observability/plugins/profiling/e2e/README.md\r\n./x-pack/solutions/observability/plugins/profiling/jest.config.js\r\n./x-pack/solutions/observability/plugins/profiling_data_access/jest.config.js\r\n./x-pack/solutions/security/plugins/security_solution/server/utils/build_query/calculate_timeseries_interval.ts\r\n./yarn.lock\r\n.github/CODEOWNERS\r\n```\r\n\r\n</details><details
>\r\n<summary>Updated relative
paths</summary>\r\n\r\n```\r\nsrc/platform/packages/shared/kbn-apm-data-view/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-apm-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-lens-embeddable-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-lens-embeddable-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-profiling-utils/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-profiling-utils/tsconfig.json:2\r\nsrc/platform/packages/shared/kbn-shared-svg/jest.config.js:12\r\nsrc/platform/packages/shared/kbn-shared-svg/tsconfig.json:2\r\nx-pack/solutions/observability/packages/kbn-apm-types/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:17\r\nx-pack/solutions/observability/plugins/apm/dev_docs/telemetry.md:22\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:130\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:222\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:78\r\nx-pack/solutions/observability/plugins/apm/dev_docs/testing.md:96\r\nx-pack/solutions/observability/plugins/apm/dev_docs/vscode_setup.md:42\r\nx-pack/solutions/observability/plugins/apm/ftr_e2e/README.md:3\r\nx-pack/solutions/observability/plugins/apm/ftr_e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/jest.config.js:12\r\nx-pack/solutions/observability/plugins/apm/scripts/infer_route_return_types/index.ts:125\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:15\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:33\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:38\r\nx-pack/solutions/observability/plugins/apm/scripts/precommit.js:50\r\nx-pack/solutions/observability/plugins/apm/scripts/shared/read_kibana_config.ts:16\r\nx-pack/solutions/observability/plugins/apm/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/apm_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/apm_data_access/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/inventory/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/inventory/jest.config.js:10\r\nx-pack/solutions/observability/plugins/inventory/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/inventory/tsconfig.json:7\r\nx-pack/solutions/observability/plugins/metrics_data_access/jest.config.js:10\r\nx-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/metrics_data_access/tsconfig.json:6\r\nx-pack/solutions/observability/plugins/profiling/README.md:52\r\nx-pack/solutions/observability/plugins/profiling/e2e/README.md:3\r\nx-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:11\r\nx-pack/solutions/observability/plugins/profiling/e2e/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/profiling/jest.config.js:10\r\nx-pack/solutions/observability/plugins/profiling/tsconfig.json:2\r\nx-pack/solutions/observability/plugins/profiling_data_access/jest.config.js:12\r\nx-pack/solutions/observability/plugins/profiling_data_access/tsconfig.json:2\r\n```\r\n\r\n</details>\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"8899fb8fa2d667d3ee36a3be28fb284de5056afc"}}]}]
BACKPORT-->

---------

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Pierre Gayvallet 2024-12-29 20:10:37 +01:00 committed by GitHub
parent 2b68edac50
commit 8a9992969a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2843 changed files with 7731 additions and 7811 deletions

View file

@ -3,13 +3,13 @@ disabled:
- x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_open.ts
- x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config_runner.ts
- x-pack/plugins/observability_solution/observability_onboarding/e2e/ftr_config.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config_run.ts
- x-pack/plugins/observability_solution/apm/ftr_e2e/ftr_config.ts
- x-pack/plugins/observability_solution/inventory/e2e/ftr_config_run.ts
- x-pack/plugins/observability_solution/inventory/e2e/ftr_config.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config_open.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config_runner.ts
- x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config_run.ts
- x-pack/solutions/observability/plugins/apm/ftr_e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/inventory/e2e/ftr_config_run.ts
- x-pack/solutions/observability/plugins/inventory/e2e/ftr_config.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_open.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config_runner.ts
- x-pack/solutions/observability/plugins/profiling/e2e/ftr_config.ts
#FTR configs
- x-pack/solutions/observability/plugins/uptime/e2e/config.ts

View file

@ -78,7 +78,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/plugins\/observability_solution\/apm/,
/^x-pack\/solutions\/observability\/plugins\/apm/,
/^packages\/kbn-apm-synthtrace/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
@ -88,7 +88,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^x-pack\/plugins\/observability_solution\/inventory/,
/^x-pack\/solutions\/observability\/plugins\/inventory/,
/^packages\/kbn-apm-synthtrace/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
@ -109,7 +109,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
}
if (
(await doAnyChangesMatch([/^x-pack\/plugins\/observability_solution\/profiling/])) ||
(await doAnyChangesMatch([/^x-pack\/solutions\/observability\/plugins\/profiling/])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/profiling_cypress.yml'));

View file

@ -31,6 +31,6 @@ echo "--- APM Cypress Tests"
cd "$XPACK_DIR"
node plugins/observability_solution/apm/scripts/test/e2e.js \
node solutions/observability/plugins/apm/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \
$CYPRESS_ARGS

View file

@ -14,5 +14,5 @@ echo "--- Observability Inventory Cypress Tests"
cd "$XPACK_DIR"
node plugins/observability_solution/inventory/scripts/test/e2e.js \
node solutions/observability/plugins/inventory/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \

View file

@ -14,5 +14,5 @@ echo "--- Profiling Cypress Tests"
cd "$XPACK_DIR"
NODE_OPTIONS=--openssl-legacy-provider node plugins/observability_solution/profiling/scripts/test/e2e.js \
NODE_OPTIONS=--openssl-legacy-provider node solutions/observability/plugins/profiling/scripts/test/e2e.js \
--kibana-install-dir "$KIBANA_BUILD_LOCATION" \

View file

@ -633,7 +633,7 @@ module.exports = {
'**/*.test.js',
'x-pack/test/apm_api_integration/**/*.ts',
'x-pack/test/functional/apps/**/*.js',
'x-pack/plugins/observability_solution/apm/**/*.js',
'x-pack/solutions/observability/plugins/apm/**/*.js',
'test/*/config.ts',
'test/*/config_open.ts',
'test/*/*.config.ts',
@ -913,7 +913,7 @@ module.exports = {
*/
{
files: [
'x-pack/plugins/observability_solution/apm/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/apm/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/observability/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/exploratory_view/**/*.{js,mjs,ts,tsx}',
'x-pack/solutions/observability/plugins/ux/**/*.{js,mjs,ts,tsx}',
@ -934,7 +934,7 @@ module.exports = {
},
{
files: [
'x-pack/plugins/observability_solution/apm/**/*.stories.*',
'x-pack/solutions/observability/plugins/apm/**/*.stories.*',
'x-pack/solutions/observability/plugins/observability/**/*.stories.*',
'x-pack/solutions/observability/plugins/exploratory_view/**/*.stories.*',
'x-pack/solutions/observability/plugins/slo/**/*.stories.*',
@ -999,7 +999,7 @@ module.exports = {
},
{
// require explicit return types in route handlers for performance reasons
files: ['x-pack/plugins/observability_solution/apm/server/**/route.ts'],
files: ['x-pack/solutions/observability/plugins/apm/server/**/route.ts'],
rules: {
'@typescript-eslint/explicit-function-return-type': [
'error',

28
.github/CODEOWNERS vendored
View file

@ -42,14 +42,14 @@ packages/analytics/utils/analytics_collection_utils @elastic/kibana-core
test/analytics/plugins/analytics_ftr_helpers @elastic/kibana-core
test/analytics/plugins/analytics_plugin_a @elastic/kibana-core
packages/kbn-apm-config-loader @elastic/kibana-core @vigneshshanmugam
x-pack/plugins/observability_solution/apm_data_access @elastic/obs-ux-infra_services-team
packages/kbn-apm-data-view @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/apm/ftr_e2e @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/apm @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/apm_data_access @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-apm-data-view @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/apm/ftr_e2e @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/apm @elastic/obs-ux-infra_services-team
packages/kbn-apm-synthtrace @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
packages/kbn-apm-synthtrace-client @elastic/obs-ux-infra_services-team @elastic/obs-ux-logs-team
packages/kbn-apm-types @elastic/obs-ux-infra_services-team
packages/kbn-apm-utils @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/packages/kbn-apm-types @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-apm-utils @elastic/obs-ux-infra_services-team
test/plugin_functional/plugins/app_link_test @elastic/kibana-core
x-pack/test/usage_collection/plugins/application_usage_test @elastic/kibana-core
x-pack/test/security_api_integration/plugins/audit_log @elastic/kibana-security
@ -546,8 +546,8 @@ x-pack/platform/plugins/shared/integration_assistant @elastic/security-scalabili
src/plugins/interactive_setup @elastic/kibana-security
test/interactive_setup_api_integration/plugins/test_endpoints @elastic/kibana-security
packages/kbn-interpreter @elastic/kibana-visualizations
x-pack/plugins/observability_solution/inventory/e2e @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/inventory @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/inventory/e2e @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/inventory @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/investigate_app @elastic/obs-ux-management-team
x-pack/solutions/observability/plugins/investigate @elastic/obs-ux-management-team
x-pack/solutions/observability/packages/kbn-investigation-shared @elastic/obs-ux-management-team
@ -572,7 +572,7 @@ x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-secu
x-pack/platform/packages/shared/kbn-langchain @elastic/security-generative-ai
src/platform/packages/private/kbn-language-documentation @elastic/kibana-esql
x-pack/examples/lens_config_builder_example @elastic/kibana-visualizations
packages/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations
src/platform/packages/shared/kbn-lens-embeddable-utils @elastic/obs-ux-infra_services-team @elastic/kibana-visualizations
packages/kbn-lens-formula-docs @elastic/kibana-visualizations
x-pack/examples/lens_embeddable_inline_editing_example @elastic/kibana-visualizations
x-pack/plugins/lens @elastic/kibana-visualizations
@ -615,7 +615,7 @@ x-pack/examples/third_party_maps_source_example @elastic/kibana-gis
src/platform/plugins/private/maps_ems @elastic/kibana-presentation
x-pack/platform/plugins/shared/maps @elastic/kibana-presentation
x-pack/packages/maps/vector_tile_utils @elastic/kibana-gis
x-pack/plugins/observability_solution/metrics_data_access @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/metrics_data_access @elastic/obs-ux-infra_services-team
x-pack/platform/packages/private/ml/agg_utils @elastic/ml-ui
x-pack/platform/packages/shared/ml/anomaly_utils @elastic/ml-ui
x-pack/platform/packages/private/ml/cancellable_search @elastic/ml-ui
@ -709,9 +709,9 @@ src/platform/plugins/shared/presentation_util @elastic/kibana-presentation
x-pack/packages/ai-infra/product-doc-artifact-builder @elastic/appex-ai-infra
x-pack/platform/plugins/shared/ai_infra/product_doc_base @elastic/appex-ai-infra
x-pack/platform/packages/shared/ai-infra/product-doc-common @elastic/appex-ai-infra
x-pack/plugins/observability_solution/profiling_data_access @elastic/obs-ux-infra_services-team
x-pack/plugins/observability_solution/profiling @elastic/obs-ux-infra_services-team
packages/kbn-profiling-utils @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/profiling_data_access @elastic/obs-ux-infra_services-team
x-pack/solutions/observability/plugins/profiling @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-profiling-utils @elastic/obs-ux-infra_services-team
x-pack/packages/kbn-random-sampling @elastic/kibana-visualizations
packages/kbn-react-field @elastic/kibana-data-discovery
packages/kbn-react-hooks @elastic/obs-ux-logs-team
@ -868,7 +868,7 @@ x-pack/solutions/security/plugins/session_view @elastic/kibana-cloud-security-po
packages/kbn-set-map @elastic/kibana-operations
examples/share_examples @elastic/appex-sharedux
src/plugins/share @elastic/appex-sharedux
packages/kbn-shared-svg @elastic/obs-ux-infra_services-team
src/platform/packages/shared/kbn-shared-svg @elastic/obs-ux-infra_services-team
packages/shared-ux/avatar/solution @elastic/appex-sharedux
packages/shared-ux/button/exit_full_screen @elastic/appex-sharedux
packages/shared-ux/button_toolbar @elastic/appex-sharedux

View file

@ -9,11 +9,11 @@
- 'src/plugins/expressions/**/*.*'
- 'src/plugins/bfetch/**/*.*'
- 'Team:obs-ux-infra_services':
- 'x-pack/plugins/observability_solution/apm/**/*.*'
- 'x-pack/solutions/observability/plugins/apm/**/*.*'
- 'x-pack/test/apm_api_integration/**/*.*'
- 'packages/kbn-apm-synthtrace/**/*.*'
- 'packages/kbn-apm-synthtrace-client/**/*.*'
- 'packages/kbn-apm-utils/**/*.*'
- 'src/platform/packages/shared/kbn-apm-utils/**/*.*'
- 'x-pack/solutions/observability/plugins/ux/**/*.*'
- 'Team:Fleet':
- 'x-pack/platform/plugins/shared/fleet/**/*.*'

4
.gitignore vendored
View file

@ -92,8 +92,8 @@ npm-debug.log*
## @cypress/snapshot from apm plugin
/snapshots.js
/apm-diagnostics*.json
/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png
/x-pack/plugins/observability_solution/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png
# transpiled cypress config
x-pack/platform/plugins/shared/fleet/cypress.config.d.ts

View file

@ -463,11 +463,11 @@ The plugin exposes the static DefaultEditorController class to consume.
|The Kibana Alerting plugin provides a common place to set up rules. You can:
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/apm/readme.md[apm]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/apm/readme.md[apm]
|This plugin provides access to App Monitoring features provided by Elastic. It allows you to monitor your software services and applications in real-time; visualize detailed performance information on your services, identify and analyze errors, and monitor host-level and APM agent-specific metrics like JVM and Go runtime metrics.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/apm_data_access[apmDataAccess]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/apm_data_access[apmDataAccess]
|WARNING: Missing README.
@ -658,7 +658,7 @@ the infrastructure monitoring use-case within Kibana.
|Team owner: Security Integrations Scalability
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/inventory/README.md[inventory]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/inventory/README.md[inventory]
|Home of the Inventory plugin, which renders the... inventory.
@ -719,7 +719,7 @@ using the CURL scripts in the scripts folder.
|Visualize geo data from Elasticsearch or 3rd party geo-services.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/metrics_data_access/README.md[metricsDataAccess]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/metrics_data_access/README.md[metricsDataAccess]
|Exposes utilities to access metrics data.
@ -780,11 +780,11 @@ Elastic.
|This plugin contains the product documentation base service.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/profiling/README.md[profiling]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/profiling/README.md[profiling]
|Universal Profiling provides fleet-wide, whole-system, continuous profiling with zero instrumentation. Get a comprehensive understanding of what lines of code are consuming compute resources throughout your entire fleet by visualizing your data in Kibana using the flamegraph, stacktraces, and top functions views.
|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/profiling_data_access[profilingDataAccess]
|{kib-repo}blob/{branch}/x-pack/solutions/observability/plugins/profiling_data_access[profilingDataAccess]
|WARNING: Missing README.

View file

@ -89,13 +89,13 @@ actions:
description: The parameters for the rule.
anyOf:
# APM anomaly rule (apm.anomaly)
- $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml'
- $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_anomaly.yaml'
# APM error count rule (apm.error_rate)
- $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml'
- $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_error_count.yaml'
# APM transaction duration rule (apm.transaction_duration)
- $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml'
- $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_duration.yaml'
# APM transaction error rate rule (apm.transaction_error_rate)
- $ref: '../../x-pack/plugins/observability_solution/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml'
- $ref: '../../x-pack/solutions/observability/plugins/apm/server/routes/alerts/rule_types/docs/params_property_apm_transaction_error_rate.yaml'
# Elasticsearch DSL query rule (.es-query)
- $ref: '../../x-pack/platform/plugins/shared/alerting/docs/openapi/components/schemas/params_es_query_dsl_rule.yaml'
# Elasticsearch ES|QL query rule (.es-query)

View file

@ -23,7 +23,7 @@ const { REPO_ROOT } = require('@kbn/repo-info');
`${REPO_ROOT}/x-pack/plugins/fleet/common/openapi/bundled.yaml`,
// Observability Solution
`${REPO_ROOT}/x-pack/plugins/observability_solution/apm/docs/openapi/apm/bundled.yaml`,
`${REPO_ROOT}/x-pack/solutions/observability/plugins/apm/docs/openapi/apm/bundled.yaml`,
`${REPO_ROOT}/x-pack/solutions/observability/plugins/slo/docs/openapi/slo/bundled.yaml`,
// Security solution

View file

@ -184,11 +184,11 @@
"@kbn/analytics-ftr-helpers-plugin": "link:test/analytics/plugins/analytics_ftr_helpers",
"@kbn/analytics-plugin-a-plugin": "link:test/analytics/plugins/analytics_plugin_a",
"@kbn/apm-config-loader": "link:packages/kbn-apm-config-loader",
"@kbn/apm-data-access-plugin": "link:x-pack/plugins/observability_solution/apm_data_access",
"@kbn/apm-data-view": "link:packages/kbn-apm-data-view",
"@kbn/apm-plugin": "link:x-pack/plugins/observability_solution/apm",
"@kbn/apm-types": "link:packages/kbn-apm-types",
"@kbn/apm-utils": "link:packages/kbn-apm-utils",
"@kbn/apm-data-access-plugin": "link:x-pack/solutions/observability/plugins/apm_data_access",
"@kbn/apm-data-view": "link:src/platform/packages/shared/kbn-apm-data-view",
"@kbn/apm-plugin": "link:x-pack/solutions/observability/plugins/apm",
"@kbn/apm-types": "link:x-pack/solutions/observability/packages/kbn-apm-types",
"@kbn/apm-utils": "link:src/platform/packages/shared/kbn-apm-utils",
"@kbn/app-link-test-plugin": "link:test/plugin_functional/plugins/app_link_test",
"@kbn/application-usage-test-plugin": "link:x-pack/test/usage_collection/plugins/application_usage_test",
"@kbn/audit-log-plugin": "link:x-pack/test/security_api_integration/plugins/audit_log",
@ -589,7 +589,7 @@
"@kbn/interactive-setup-plugin": "link:src/plugins/interactive_setup",
"@kbn/interactive-setup-test-endpoints-plugin": "link:test/interactive_setup_api_integration/plugins/test_endpoints",
"@kbn/interpreter": "link:packages/kbn-interpreter",
"@kbn/inventory-plugin": "link:x-pack/plugins/observability_solution/inventory",
"@kbn/inventory-plugin": "link:x-pack/solutions/observability/plugins/inventory",
"@kbn/investigate-app-plugin": "link:x-pack/solutions/observability/plugins/investigate_app",
"@kbn/investigate-plugin": "link:x-pack/solutions/observability/plugins/investigate",
"@kbn/investigation-shared": "link:x-pack/solutions/observability/packages/kbn-investigation-shared",
@ -610,7 +610,7 @@
"@kbn/langchain": "link:x-pack/platform/packages/shared/kbn-langchain",
"@kbn/language-documentation": "link:src/platform/packages/private/kbn-language-documentation",
"@kbn/lens-config-builder-example-plugin": "link:x-pack/examples/lens_config_builder_example",
"@kbn/lens-embeddable-utils": "link:packages/kbn-lens-embeddable-utils",
"@kbn/lens-embeddable-utils": "link:src/platform/packages/shared/kbn-lens-embeddable-utils",
"@kbn/lens-formula-docs": "link:packages/kbn-lens-formula-docs",
"@kbn/lens-inline-editing-example-plugin": "link:x-pack/examples/lens_embeddable_inline_editing_example",
"@kbn/lens-plugin": "link:x-pack/plugins/lens",
@ -647,7 +647,7 @@
"@kbn/maps-ems-plugin": "link:src/platform/plugins/private/maps_ems",
"@kbn/maps-plugin": "link:x-pack/platform/plugins/shared/maps",
"@kbn/maps-vector-tile-utils": "link:x-pack/packages/maps/vector_tile_utils",
"@kbn/metrics-data-access-plugin": "link:x-pack/plugins/observability_solution/metrics_data_access",
"@kbn/metrics-data-access-plugin": "link:x-pack/solutions/observability/plugins/metrics_data_access",
"@kbn/ml-agg-utils": "link:x-pack/platform/packages/private/ml/agg_utils",
"@kbn/ml-anomaly-utils": "link:x-pack/platform/packages/shared/ml/anomaly_utils",
"@kbn/ml-cancellable-search": "link:x-pack/platform/packages/private/ml/cancellable_search",
@ -727,9 +727,9 @@
"@kbn/presentation-util-plugin": "link:src/platform/plugins/shared/presentation_util",
"@kbn/product-doc-base-plugin": "link:x-pack/platform/plugins/shared/ai_infra/product_doc_base",
"@kbn/product-doc-common": "link:x-pack/platform/packages/shared/ai-infra/product-doc-common",
"@kbn/profiling-data-access-plugin": "link:x-pack/plugins/observability_solution/profiling_data_access",
"@kbn/profiling-plugin": "link:x-pack/plugins/observability_solution/profiling",
"@kbn/profiling-utils": "link:packages/kbn-profiling-utils",
"@kbn/profiling-data-access-plugin": "link:x-pack/solutions/observability/plugins/profiling_data_access",
"@kbn/profiling-plugin": "link:x-pack/solutions/observability/plugins/profiling",
"@kbn/profiling-utils": "link:src/platform/packages/shared/kbn-profiling-utils",
"@kbn/random-sampling": "link:x-pack/packages/kbn-random-sampling",
"@kbn/react-field": "link:packages/kbn-react-field",
"@kbn/react-hooks": "link:packages/kbn-react-hooks",
@ -875,7 +875,7 @@
"@kbn/set-map": "link:packages/kbn-set-map",
"@kbn/share-examples-plugin": "link:examples/share_examples",
"@kbn/share-plugin": "link:src/plugins/share",
"@kbn/shared-svg": "link:packages/kbn-shared-svg",
"@kbn/shared-svg": "link:src/platform/packages/shared/kbn-shared-svg",
"@kbn/shared-ux-avatar-solution": "link:packages/shared-ux/avatar/solution",
"@kbn/shared-ux-button-exit-full-screen": "link:packages/shared-ux/button/exit_full_screen",
"@kbn/shared-ux-button-toolbar": "link:packages/shared-ux/button_toolbar",
@ -1367,7 +1367,7 @@
"@kbn/ambient-ftr-types": "link:packages/kbn-ambient-ftr-types",
"@kbn/ambient-storybook-types": "link:packages/kbn-ambient-storybook-types",
"@kbn/ambient-ui-types": "link:packages/kbn-ambient-ui-types",
"@kbn/apm-ftr-e2e": "link:x-pack/plugins/observability_solution/apm/ftr_e2e",
"@kbn/apm-ftr-e2e": "link:x-pack/solutions/observability/plugins/apm/ftr_e2e",
"@kbn/apm-synthtrace": "link:packages/kbn-apm-synthtrace",
"@kbn/apm-synthtrace-client": "link:packages/kbn-apm-synthtrace-client",
"@kbn/axe-config": "link:packages/kbn-axe-config",
@ -1466,7 +1466,7 @@
"@kbn/get-repo-files": "link:packages/kbn-get-repo-files",
"@kbn/import-locator": "link:packages/kbn-import-locator",
"@kbn/import-resolver": "link:packages/kbn-import-resolver",
"@kbn/inventory-e2e": "link:x-pack/plugins/observability_solution/inventory/e2e",
"@kbn/inventory-e2e": "link:x-pack/solutions/observability/plugins/inventory/e2e",
"@kbn/jest-serializers": "link:packages/kbn-jest-serializers",
"@kbn/journeys": "link:packages/kbn-journeys",
"@kbn/json-ast": "link:packages/kbn-json-ast",

View file

@ -1,10 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export * from './src/es_fields/apm';

View file

@ -1,11 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export * from './src/es_schemas/raw';
export * from './src/es_schemas/raw/fields';

View file

@ -1,11 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export * from './src/es_schemas/ui';
export * from './src/es_schemas/ui/fields';

View file

@ -1,12 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export * from './es_fields';
export * from './es_schemas_raw';
export * from './es_schemas_ui';

View file

@ -1,15 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Container {
id?: string | null;
image?: {
name?: string;
};
}

View file

@ -1,10 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export type EventOutcome = 'success' | 'failure' | 'unknown';

View file

@ -1,18 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Faas {
id: string;
coldstart?: boolean;
execution?: string;
trigger?: {
type?: string;
request_id?: string;
};
}

View file

@ -1,18 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Host {
architecture?: string;
hostname?: string;
name?: string;
ip?: string;
os?: {
platform?: string;
};
}

View file

@ -1,14 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Http {
request?: { method?: string };
response?: { status_code?: number };
version?: string;
}

View file

@ -1,23 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Kubernetes {
pod?: { uid?: string | null; name?: string };
namespace?: string;
replicaset?: {
name?: string;
};
deployment?: {
name?: string;
};
container?: {
id?: string;
name?: string;
};
}

View file

@ -1,18 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Observer {
ephemeral_id?: string;
hostname?: string;
id?: string;
name?: string;
type?: string;
version?: string;
version_major?: number;
}

View file

@ -1,13 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
// only for RUM agent: shared by error and transaction
export interface Page {
url?: string;
}

View file

@ -1,15 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Process {
args?: string[];
pid: number;
ppid?: number;
title?: string;
}

View file

@ -1,13 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface SpanLink {
trace: { id: string };
span: { id: string };
}

View file

@ -1,12 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface TimestampUs {
us: number;
}

View file

@ -1,14 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface Url {
domain?: string;
full?: string;
original?: string;
}

View file

@ -1,12 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface User {
id?: string;
}

View file

@ -1,22 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export interface UserAgent {
device?: {
name: string;
};
name?: string;
original: string;
os?: {
name: string;
version?: string;
full?: string;
};
version?: string;
}

View file

@ -1,15 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export * from './apm_base_doc';
export * from './error_raw';
export * from './event_raw';
export * from './metric_raw';
export * from './span_raw';
export * from './transaction_raw';

View file

@ -1,15 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
import { ErrorRaw } from '../raw/error_raw';
import { Agent } from './fields/agent';
export interface APMError extends ErrorRaw {
agent: Agent;
}

View file

@ -1,15 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
import { EventRaw } from '../raw/event_raw';
import { Agent } from './fields/agent';
export interface Event extends EventRaw {
agent: Agent;
}

View file

@ -1,18 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
import type { AgentName } from '@kbn/elastic-agent-utils';
export type { ElasticAgentName, OpenTelemetryAgentName, AgentName } from '@kbn/elastic-agent-utils';
export interface Agent {
ephemeral_id?: string;
name: AgentName;
version?: string;
}

View file

@ -1,10 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export * from './agent';

View file

@ -1,14 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
export * from './apm_error';
export * from './event';
export * from './metric';
export * from './span';
export * from './transaction';

View file

@ -1,12 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
import { MetricRaw } from '../raw/metric_raw';
export type Metric = MetricRaw;

View file

@ -1,15 +0,0 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/
import { SpanRaw } from '../raw/span_raw';
import { Agent } from './fields/agent';
export interface Span extends SpanRaw {
agent: Agent;
}

View file

@ -18,6 +18,7 @@ module.exports = {
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\](exploratory_view|investigate|investigate_app|observability|observability_ai_assistant_app|observability_ai_assistant_management|observability_solution|serverless_observability|streams|streams_app|synthetics|uptime|ux|infra)[\/\\]/,
/x-pack[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|observability_solution\/infra|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]observability_shared[\/\\]/,
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\]apm[\/\\]/,
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|observability_solution\/infra|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
/x-pack[\/\\]platform[\/\\]plugins[\/\\]shared[\/\\](fleet)[\/\\]/,
/x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/,

View file

@ -17,7 +17,7 @@ const testMap = [
'xpack.observability',
],
[
'x-pack/plugins/observability_solution/apm/common/components/app/correlations/correlations_table.tsx',
'x-pack/solutions/observability/plugins/apm/common/components/app/correlations/correlations_table.tsx',
'xpack.apm',
],
['x-pack/platform/plugins/shared/cases/server/components/foo.tsx', 'xpack.cases'],

View file

@ -13,7 +13,7 @@ const SYSTEMPATH = 'systemPath';
const testMap = [
['x-pack/solutions/observability/plugins/observability/foo/bar/baz/header_actions.tsx', 'o11y'],
['x-pack/plugins/observability_solution/apm/baz/header_actions.tsx', 'apm'],
['x-pack/solutions/observability/plugins/apm/baz/header_actions.tsx', 'apm'],
['x-pack/platform/plugins/shared/cases/public/components/foo.tsx', 'cases'],
[
'src/platform/packages/shared/kbn-alerts-ui-shared/src/alert_lifecycle_status_badge/index.tsx',

View file

@ -70,7 +70,7 @@ export const IGNORE_FILE_GLOBS = [
'x-pack/platform/plugins/shared/maps/server/fonts/**/*',
'x-pack/plugins/observability_solution/profiling/Makefile',
'x-pack/solutions/observability/plugins/profiling/Makefile',
// Bazel default files
'**/WORKSPACE.bazel',

View file

@ -13,7 +13,7 @@
// alias to .buildkite/scripts/steps/storybooks/build_and_upload.ts
export const storybookAliases = {
ai_assistant: 'x-pack/platform/packages/shared/kbn-ai-assistant/.storybook',
apm: 'x-pack/plugins/observability_solution/apm/.storybook',
apm: 'x-pack/solutions/observability/plugins/apm/.storybook',
canvas: 'x-pack/platform/plugins/private/canvas/storybook',
cases: 'src/platform/packages/shared/kbn-cases-components/.storybook',
cell_actions: 'src/platform/packages/shared/kbn-cell-actions/.storybook',
@ -47,7 +47,7 @@ export const storybookAliases = {
grouping: 'src/platform/packages/shared/kbn-grouping/.storybook',
home: 'src/plugins/home/.storybook',
infra: 'x-pack/plugins/observability_solution/infra/.storybook',
inventory: 'x-pack/plugins/observability_solution/inventory/.storybook',
inventory: 'x-pack/solutions/observability/plugins/inventory/.storybook',
investigate: 'x-pack/solutions/observability/plugins/investigate_app/.storybook',
kibana_react: 'src/plugins/kibana_react/.storybook',
lists: 'x-pack/solutions/security/plugins/lists/.storybook',
@ -58,6 +58,7 @@ export const storybookAliases = {
'x-pack/platform/plugins/shared/observability_solution/observability_ai_assistant/.storybook',
observability_ai_assistant_app:
'x-pack/solutions/observability/plugins/observability_ai_assistant_app/.storybook',
observability_inventory: 'x-pack/solutions/observability/plugins/inventory/.storybook',
observability_shared: 'x-pack/solutions/observability/plugins/observability_shared/.storybook',
observability_slo: 'x-pack/solutions/observability/plugins/slo/.storybook',
presentation: 'src/platform/plugins/shared/presentation_util/storybook',
@ -72,5 +73,5 @@ export const storybookAliases = {
triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook',
ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook',
unified_search: 'src/plugins/unified_search/.storybook',
profiling: 'x-pack/plugins/observability_solution/profiling/.storybook',
profiling: 'x-pack/solutions/observability/plugins/profiling/.storybook',
};

View file

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

View file

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "target/types",
"types": [

Some files were not shown because too many files have changed in this diff Show more