From 72a377d5b2927d75537838b7077e7bd1e340a20f Mon Sep 17 00:00:00 2001 From: Coen Warmer Date: Thu, 22 Feb 2024 11:25:09 +0100 Subject: [PATCH] [Moving] Move Profiling folder into `/x-pack/observability_solution` (#177453) ## Summary This PR is part of the initiative to consolidate Observability plugins into `x-pack/plugins/observability_solution`. This PR is strictly a move and an update in references. This was discussed and agreed upon with the Observability org in the Observability Office Hours meeting at the end of 2023. ## Related PRs: - [ ] [Move APM ](https://github.com/elastic/kibana/pull/177433) - [ ] [Move Data Quality](https://github.com/elastic/kibana/pull/177456) - [ ] [Move Exploratory View](https://github.com/elastic/kibana/pull/177440) - [ ] [Move Infra](https://github.com/elastic/kibana/pull/177443) - [X] Move Logs Explorer - [x] [Move Observability AI Assistant](https://github.com/elastic/kibana/pull/177427) - [ ] [Move Observability App](https://github.com/elastic/kibana/pull/177437) - [ ] [Move Observability Onboarding](https://github.com/elastic/kibana/pull/177458) - [ ] [Move Observability Shared](https://github.com/elastic/kibana/pull/177463) - [ ] [Move Profiling](https://github.com/elastic/kibana/pull/177453) <-- you are here - [ ] [Move Synthetics](https://github.com/elastic/kibana/pull/177464) - [ ] [Move Uptime](https://github.com/elastic/kibana/pull/177466) - [x] [Move UX](https://github.com/elastic/kibana/pull/177470) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .buildkite/ftr_configs.yml | 6 +- .../steps/functional/profiling_cypress.sh | 2 +- .eslintrc.js | 6 +- .github/CODEOWNERS | 4 +- api_docs/deprecations_by_plugin.mdx | 6 +- api_docs/deprecations_by_team.mdx | 4 +- api_docs/kbn_core_http_server.devdocs.json | 1177 +++++------------ api_docs/kibana_react.devdocs.json | 358 ++--- api_docs/licensing.devdocs.json | 460 ++----- api_docs/profiling.devdocs.json | 68 +- api_docs/profiling_data_access.devdocs.json | 66 +- docs/developer/plugin-list.asciidoc | 4 +- package.json | 4 +- src/dev/precommit_hook/casing_check_config.js | 2 +- src/dev/storybook/aliases.ts | 2 +- tsconfig.base.json | 8 +- x-pack/.i18nrc.json | 2 +- .../profiling/.gitignore | 0 .../profiling/.i18nrc.json | 0 .../profiling/.storybook/jest_setup.js | 0 .../profiling/.storybook/main.js | 0 .../profiling/.storybook/preview.js | 0 .../profiling/DOCKER.md | 0 .../profiling/Dockerfile | 0 .../profiling/Makefile | 0 .../profiling/README.md | 20 +- .../common/__fixtures__/base_flamegraph.ts | 0 .../common/columnar_view_model.test.ts | 0 .../profiling/common/columnar_view_model.ts | 0 .../profiling/common/commonly_used_ranges.ts | 0 .../profiling/common/frame_type_colors.ts | 0 .../profiling/common/histogram.ts | 0 .../profiling/common/index.test.ts | 0 .../profiling/common/index.ts | 0 .../common/runtime_types/range_rt.ts | 0 .../profiling/common/storage_explorer.ts | 0 .../profiling/common/topn.test.ts | 0 .../profiling/common/topn.ts | 0 .../profiling/common/types.ts | 0 .../profiling/e2e/README.md | 14 +- .../profiling/e2e/cypress.config.ts | 0 .../e2e/cypress/e2e/empty_state/home.cy.ts | 0 .../differential_functions.cy.ts | 0 .../e2e/profiling_views/functions.cy.ts | 0 .../cypress/e2e/profiling_views/home.cy.ts | 0 .../e2e/profiling_views/settings.cy.ts | 0 .../e2e/profiling_views/stacktraces.cy.ts | 0 .../profiling_views/storage_explorer.cy.ts | 0 .../fixtures/storage_explorer_summary.json | 0 .../profiling/e2e/cypress/support/commands.ts | 0 .../profiling/e2e/cypress/support/e2e.ts | 0 .../profiling/e2e/cypress/support/types.d.ts | 0 .../profiling/e2e/cypress_test_runner.ts | 0 .../profiling_data_anonymized.json | 0 .../profiling/e2e/ftr_config.ts | 4 +- .../profiling/e2e/ftr_config_open.ts | 0 .../profiling/e2e/ftr_config_runner.ts | 0 .../profiling/e2e/ftr_kibana.yml | 0 .../profiling/e2e/ftr_provider_context.d.ts | 0 .../profiling/e2e/load_profiling_data.ts | 0 .../e2e/setup_profiling_resources.ts | 0 .../profiling/e2e/tsconfig.json | 19 +- .../profiling/jest.config.js | 18 + .../profiling/kibana.jsonc | 0 .../profiling/public/app.tsx | 0 .../public/components/async_component.tsx | 0 .../public/components/chart_grid.tsx | 0 .../public/components/check_setup.tsx | 0 .../contexts/license/license_context.tsx | 0 .../contexts/license/use_license_context.ts | 0 .../mock_profiling_dependencies_storybook.tsx | 0 .../profiling_dependencies_context.tsx | 0 .../use_profiling_dependencies.tsx | 0 .../profiling_setup_status_context.tsx | 0 .../use_profiling_setup_status.tsx | 0 .../route_breadcrumbs_context/index.tsx | 0 .../use_route_breadcrumb.ts | 0 .../contexts/time_range_context/index.tsx | 0 .../components/cpu_label_with_hint/index.tsx | 0 .../differential_comparison_mode/index.tsx | 0 .../get_columns.tsx | 0 .../get_compare_frame_action.tsx | 0 .../index.tsx | 0 .../flamegraph/flame_graph_legend.tsx | 0 .../flamegraph/flamegraph_tooltip.tsx | 0 .../public/components/flamegraph/index.tsx | 0 .../components/flamegraph/tooltip_row.tsx | 0 .../frame_information_window/empty_frame.tsx | 0 .../frame_information_ai_assistant.tsx | 0 .../frame_information_panel.tsx | 0 .../frame_information_tooltip.tsx | 0 .../get_impact_rows.tsx | 0 .../get_information_rows.ts | 0 .../frame_information_window/index.tsx | 0 .../key_value_list.tsx | 0 .../missing_symbols_callout.stories.tsx | 0 .../missing_symbols_callout.tsx | 0 .../components/frames_summary/index.tsx | 0 .../frames_summary/summary_item.test.ts | 0 .../frames_summary/summary_item.tsx | 0 .../components/label_with_hint/index.tsx | 0 .../profiling/public/components/legend.tsx | 0 .../components/license_prompt/index.tsx | 0 .../components/normalization_menu/index.tsx | 0 .../primary_and_comparison_search_bar.tsx | 0 .../profiling_app_page_template/index.tsx | 0 .../primary_profiling_search_bar.tsx | 0 .../profiling_search_bar.tsx | 0 .../profiling_header_action_menu.tsx | 0 .../public/components/redirect_to.tsx | 0 .../redirect_with_default_date_range.tsx | 0 .../components/stack_frame_summary/index.tsx | 0 .../public/components/stack_traces/index.tsx | 0 .../components/stacked_bar_chart/index.tsx | 0 .../profiling/public/components/subchart.tsx | 0 .../components/topn_functions/cpu_stat.tsx | 0 .../topn_functions/function_row.tsx | 0 .../components/topn_functions/index.tsx | 0 .../components/topn_functions/label.tsx | 0 .../topn_functions/mock/top_n_functions.ts | 0 .../components/topn_functions/sample_stat.tsx | 0 .../topn_functions/topn_functions.stories.tsx | 0 .../topn_functions/total_samples_stat.tsx | 0 .../components/topn_functions/utils.test.ts | 0 .../public/components/topn_functions/utils.ts | 0 .../async_embeddable_component.tsx | 0 .../public/embeddables/empty_data_prompt.tsx | 0 .../public/embeddables/error_prompt.tsx | 0 .../flamegraph/embeddable_flamegraph.tsx | 0 .../embeddable_flamegraph_factory.ts | 0 .../functions/embeddable_functions.tsx | 0 .../functions/embeddable_functions_factory.ts | 0 .../functions/embeddable_functions_grid.tsx | 0 .../profiling_embeddable_provider.tsx | 0 .../embeddables/register_embeddables.ts | 0 .../search_bar/embeddable_search_bar.tsx | 0 .../embeddable_search_bar_factory.ts | 0 .../stack_traces/embeddable_stack_traces.tsx | 0 .../embeddable_stack_traces_factory.ts | 0 .../embeddables/stack_traces/stack_traces.tsx | 0 .../profiling/public/hooks/use_async.ts | 0 .../hooks/use_auto_aborted_http_client.ts | 0 .../use_calculate_impact_estimates.test.ts | 0 .../hooks/use_calculate_impact_estimates.ts | 0 .../hooks/use_default_date_range_redirect.ts | 0 .../hooks/use_kibana_timezone_setting.ts | 0 .../public/hooks/use_local_storage.ts | 0 .../hooks/use_profiling_charts_theme.ts | 0 .../public/hooks/use_profiling_params.ts | 0 .../public/hooks/use_profiling_route_path.ts | 0 .../public/hooks/use_profiling_router.ts | 0 .../profiling/public/hooks/use_time_range.ts | 0 .../public/hooks/use_time_range_async.ts | 0 .../public/hooks/use_time_range_context.ts | 0 .../profiling/public/index.tsx | 0 .../profiling/public/plugin.tsx | 0 .../profiling/public/routing/index.tsx | 0 .../public/routing/route_breadcrumb.tsx | 0 .../public/routing/router_error_boundary.tsx | 0 .../profiling/public/services.ts | 0 .../profiling/public/types.ts | 0 .../public/utils/formatters/as_cost.ts | 0 .../public/utils/formatters/as_duration.ts | 0 .../public/utils/formatters/as_number.test.ts | 0 .../public/utils/formatters/as_number.ts | 0 .../public/utils/formatters/as_percentage.ts | 0 .../public/utils/formatters/as_weight.test.ts | 0 .../public/utils/formatters/as_weight.ts | 0 .../get_interpolation_value.test.ts | 0 .../get_interpolation_value.ts | 0 .../utils/get_flamegraph_model/index.ts | 0 .../utils/get_next_time_range/index.test.ts | 0 .../public/utils/get_next_time_range/index.ts | 0 .../public/views/add_data_view/index.tsx | 0 .../public/views/delete_data_view/index.tsx | 0 .../differential_flame_graph_search_panel.tsx | 0 .../differential_flamegraphs/index.tsx | 0 .../views/flamegraphs/flamegraph/index.tsx | 0 .../public/views/flamegraphs/index.tsx | 0 .../functions/differential_topn/index.tsx | 0 .../public/views/functions/index.tsx | 0 .../public/views/functions/topn/index.tsx | 0 .../views/settings/bottom_bar_actions.tsx | 0 .../profiling/public/views/settings/index.tsx | 0 .../get_stack_traces_tabs.ts | 0 .../public/views/stack_traces_view/index.tsx | 0 .../views/stack_traces_view/utils.test.ts | 0 .../public/views/stack_traces_view/utils.ts | 0 .../data_breakdown/grouped_index_details.tsx | 0 .../grouped_index_details_chart.tsx | 0 .../storage_explorer/data_breakdown/index.tsx | 0 .../data_breakdown/storage_details_table.tsx | 0 .../storage_explorer/data_breakdown/utils.ts | 0 .../distinct_probabilistic_values_warning.tsx | 0 .../host_breakdown/host_breakdown_chart.tsx | 0 .../host_breakdown/hosts_table.tsx | 0 .../storage_explorer/host_breakdown/index.tsx | 0 .../public/views/storage_explorer/index.tsx | 0 .../index_lifecycle_phase_select.tsx | 0 .../public/views/storage_explorer/summary.tsx | 0 .../profiling/scripts/export_from_testing.sh | 0 .../profiling/scripts/import_from_testing.sh | 0 .../scripts/shrink_stacktrace_response.js | 0 .../profiling/scripts/test/api.js | 0 .../profiling/scripts/test/e2e.js | 3 +- .../profiling/server/feature.ts | 0 .../profiling/server/index.ts | 0 .../profiling/server/lib/setup/README.md | 0 .../server/lib/setup/cluster_settings.ts | 0 .../server/lib/setup/fleet_policies.test.ts | 0 .../server/lib/setup/fleet_policies.ts | 0 .../lib/setup/get_has_setup_privileges.ts | 0 .../profiling/server/lib/setup/types.ts | 0 .../profiling/server/plugin.ts | 0 .../profiling/server/routes/compat.ts | 0 .../server/routes/downsampling.test.ts | 0 .../profiling/server/routes/downsampling.ts | 0 .../profiling/server/routes/flamechart.ts | 0 .../profiling/server/routes/functions.ts | 0 .../profiling/server/routes/index.ts | 0 .../profiling/server/routes/query.ts | 0 .../server/routes/search_stacktraces.ts | 0 .../setup/get_cloud_setup_instructions.ts | 0 .../setup/get_self_managed_instructions.ts | 0 .../profiling/server/routes/setup/route.ts | 0 .../server/routes/setup/setup_cloud.ts | 0 .../server/routes/setup/setup_self_managed.ts | 0 .../get_daily_data_generation.size.ts | 0 .../get_host_breakdown_size_timeseries.ts | 0 .../storage_explorer/get_host_details.ts | 0 .../get_host_distinct_probabilistic_count.ts | 0 .../storage_explorer/get_indices_stats.ts | 0 .../get_profiling_hosts_details_by_id.ts | 0 .../get_storage_details_grouped_by_index.ts | 0 .../get_storage_details_per_index.ts | 0 .../server/routes/storage_explorer/route.ts | 0 .../profiling/server/routes/topn.test.ts | 0 .../profiling/server/routes/topn.ts | 0 .../profiling/server/types.ts | 0 .../utils/create_profiling_es_client.ts | 0 .../utils/handle_route_error_handler.ts | 0 .../server/utils/with_profiling_span.ts | 0 .../profiling/tsconfig.json | 6 +- .../profiling_data_access/.i18nrc.json | 0 .../common/cloud_setup.test.ts | 0 .../common/cloud_setup.ts | 0 .../common/cluster_settings.ts | 0 .../common/fleet_policies.ts | 0 .../common/get_apm_policy.ts | 0 .../common/has_profiling_data.ts | 0 .../profiling_data_access/common/index.ts | 0 .../common/profiling_es_client.ts | 0 .../common/setup.test.ts | 0 .../profiling_data_access/common/setup.ts | 0 .../profiling_data_access/jest.config.js | 4 +- .../profiling_data_access/kibana.jsonc | 0 .../profiling_data_access/server/index.ts | 0 .../profiling_data_access/server/plugin.ts | 0 .../server/services/fetch_flamechart/index.ts | 0 .../server/services/functions/index.ts | 0 .../server/services/register_services.ts | 0 .../services/search_stack_traces/index.ts | 0 .../services/setup_state/cloud_setup_state.ts | 0 .../server/services/setup_state/index.ts | 0 .../setup_state/self_managed_setup_state.ts | 0 .../server/services/status/index.ts | 0 .../profiling_data_access/server/types.ts | 0 .../utils/create_profiling_es_client.ts | 0 .../server/utils/percent_to_factor.test.ts | 0 .../server/utils/percent_to_factor.ts | 0 .../server/utils/query.ts | 0 .../server/utils/unwrap_es_response.ts | 0 .../server/utils/with_profiling_span.ts | 0 .../profiling_data_access/tsconfig.json | 14 +- x-pack/plugins/profiling/jest.config.js | 15 - yarn.lock | 4 +- 276 files changed, 624 insertions(+), 1676 deletions(-) rename x-pack/plugins/{ => observability_solution}/profiling/.gitignore (100%) rename x-pack/plugins/{ => observability_solution}/profiling/.i18nrc.json (100%) rename x-pack/plugins/{ => observability_solution}/profiling/.storybook/jest_setup.js (100%) rename x-pack/plugins/{ => observability_solution}/profiling/.storybook/main.js (100%) rename x-pack/plugins/{ => observability_solution}/profiling/.storybook/preview.js (100%) rename x-pack/plugins/{ => observability_solution}/profiling/DOCKER.md (100%) rename x-pack/plugins/{ => observability_solution}/profiling/Dockerfile (100%) rename x-pack/plugins/{ => observability_solution}/profiling/Makefile (100%) rename x-pack/plugins/{ => observability_solution}/profiling/README.md (81%) rename x-pack/plugins/{ => observability_solution}/profiling/common/__fixtures__/base_flamegraph.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/columnar_view_model.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/columnar_view_model.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/commonly_used_ranges.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/frame_type_colors.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/histogram.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/index.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/runtime_types/range_rt.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/storage_explorer.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/topn.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/topn.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/common/types.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/README.md (72%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress.config.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/e2e/empty_state/home.cy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/e2e/profiling_views/differential_functions.cy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/e2e/profiling_views/functions.cy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/e2e/profiling_views/home.cy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/e2e/profiling_views/settings.cy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/e2e/profiling_views/stacktraces.cy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/fixtures/storage_explorer_summary.json (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/support/commands.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/support/e2e.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress/support/types.d.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/cypress_test_runner.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/es_archivers/profiling_data_anonymized.json (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/ftr_config.ts (92%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/ftr_config_open.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/ftr_config_runner.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/ftr_kibana.yml (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/ftr_provider_context.d.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/load_profiling_data.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/setup_profiling_resources.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/e2e/tsconfig.json (53%) create mode 100644 x-pack/plugins/observability_solution/profiling/jest.config.js rename x-pack/plugins/{ => observability_solution}/profiling/kibana.jsonc (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/app.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/async_component.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/chart_grid.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/check_setup.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/license/license_context.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/license/use_license_context.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/contexts/time_range_context/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/cpu_label_with_hint/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/differential_comparison_mode/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/differential_topn_functions_grid/get_columns.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/differential_topn_functions_grid/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/flamegraph/flame_graph_legend.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/flamegraph/flamegraph_tooltip.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/flamegraph/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/flamegraph/tooltip_row.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/empty_frame.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/frame_information_panel.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/frame_information_tooltip.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/get_impact_rows.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/get_information_rows.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/key_value_list.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frame_information_window/missing_symbols_callout.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frames_summary/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frames_summary/summary_item.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/frames_summary/summary_item.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/label_with_hint/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/legend.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/license_prompt/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/normalization_menu/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/primary_and_comparison_search_bar.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/profiling_app_page_template/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/profiling_header_action_menu.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/redirect_to.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/redirect_with_default_date_range.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/stack_frame_summary/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/stack_traces/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/stacked_bar_chart/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/subchart.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/cpu_stat.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/function_row.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/label.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/mock/top_n_functions.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/sample_stat.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/topn_functions.stories.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/total_samples_stat.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/utils.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/components/topn_functions/utils.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/async_embeddable_component.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/empty_data_prompt.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/error_prompt.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/flamegraph/embeddable_flamegraph_factory.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/functions/embeddable_functions.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/functions/embeddable_functions_factory.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/functions/embeddable_functions_grid.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/profiling_embeddable_provider.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/register_embeddables.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/search_bar/embeddable_search_bar_factory.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/stack_traces/embeddable_stack_traces_factory.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/embeddables/stack_traces/stack_traces.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_async.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_auto_aborted_http_client.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_calculate_impact_estimates.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_calculate_impact_estimates.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_default_date_range_redirect.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_kibana_timezone_setting.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_local_storage.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_profiling_charts_theme.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_profiling_params.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_profiling_route_path.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_profiling_router.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_time_range.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_time_range_async.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/hooks/use_time_range_context.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/plugin.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/routing/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/routing/route_breadcrumb.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/routing/router_error_boundary.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/services.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/types.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/formatters/as_cost.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/formatters/as_duration.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/formatters/as_number.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/formatters/as_number.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/formatters/as_percentage.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/formatters/as_weight.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/formatters/as_weight.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/get_flamegraph_model/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/get_next_time_range/index.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/utils/get_next_time_range/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/add_data_view/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/delete_data_view/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/flamegraphs/flamegraph/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/flamegraphs/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/functions/differential_topn/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/functions/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/functions/topn/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/settings/bottom_bar_actions.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/settings/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/stack_traces_view/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/stack_traces_view/utils.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/stack_traces_view/utils.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/data_breakdown/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/data_breakdown/utils.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/host_breakdown/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/index.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/public/views/storage_explorer/summary.tsx (100%) rename x-pack/plugins/{ => observability_solution}/profiling/scripts/export_from_testing.sh (100%) rename x-pack/plugins/{ => observability_solution}/profiling/scripts/import_from_testing.sh (100%) rename x-pack/plugins/{ => observability_solution}/profiling/scripts/shrink_stacktrace_response.js (100%) rename x-pack/plugins/{ => observability_solution}/profiling/scripts/test/api.js (100%) rename x-pack/plugins/{ => observability_solution}/profiling/scripts/test/e2e.js (97%) rename x-pack/plugins/{ => observability_solution}/profiling/server/feature.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/lib/setup/README.md (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/lib/setup/cluster_settings.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/lib/setup/fleet_policies.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/lib/setup/fleet_policies.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/lib/setup/get_has_setup_privileges.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/lib/setup/types.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/plugin.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/compat.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/downsampling.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/downsampling.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/flamechart.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/functions.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/query.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/search_stacktraces.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/setup/get_cloud_setup_instructions.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/setup/get_self_managed_instructions.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/setup/route.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/setup/setup_cloud.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/setup/setup_self_managed.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_host_details.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_indices_stats.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/storage_explorer/route.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/topn.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/routes/topn.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/types.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/utils/create_profiling_es_client.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/utils/handle_route_error_handler.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/server/utils/with_profiling_span.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling/tsconfig.json (96%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/.i18nrc.json (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/cloud_setup.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/cloud_setup.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/cluster_settings.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/fleet_policies.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/get_apm_policy.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/has_profiling_data.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/profiling_es_client.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/setup.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/common/setup.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/jest.config.js (70%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/kibana.jsonc (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/plugin.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/fetch_flamechart/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/functions/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/register_services.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/search_stack_traces/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/setup_state/cloud_setup_state.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/setup_state/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/services/status/index.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/types.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/utils/create_profiling_es_client.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/utils/percent_to_factor.test.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/utils/percent_to_factor.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/utils/query.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/utils/unwrap_es_response.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/server/utils/with_profiling_span.ts (100%) rename x-pack/plugins/{ => observability_solution}/profiling_data_access/tsconfig.json (60%) delete mode 100644 x-pack/plugins/profiling/jest.config.js diff --git a/.buildkite/ftr_configs.yml b/.buildkite/ftr_configs.yml index 4fe587dec5953e..885727458becac 100644 --- a/.buildkite/ftr_configs.yml +++ b/.buildkite/ftr_configs.yml @@ -53,9 +53,9 @@ disabled: - x-pack/test_serverless/functional/test_suites/observability/cypress/config_headless.ts - x-pack/test_serverless/functional/test_suites/observability/cypress/config_runner.ts - x-pack/test/security_solution_cypress/serverless_config.ts - - x-pack/plugins/profiling/e2e/ftr_config_open.ts - - x-pack/plugins/profiling/e2e/ftr_config_runner.ts - - x-pack/plugins/profiling/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 # Elastic Synthetics configs - x-pack/plugins/synthetics/e2e/config.ts diff --git a/.buildkite/scripts/steps/functional/profiling_cypress.sh b/.buildkite/scripts/steps/functional/profiling_cypress.sh index 1f6fb316b77ad0..daad169069ae39 100644 --- a/.buildkite/scripts/steps/functional/profiling_cypress.sh +++ b/.buildkite/scripts/steps/functional/profiling_cypress.sh @@ -13,5 +13,5 @@ echo "--- Profiling Cypress Tests" cd "$XPACK_DIR" -NODE_OPTIONS=--openssl-legacy-provider node plugins/profiling/scripts/test/e2e.js \ +NODE_OPTIONS=--openssl-legacy-provider node plugins/observability_solution/profiling/scripts/test/e2e.js \ --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ \ No newline at end of file diff --git a/.eslintrc.js b/.eslintrc.js index e4c434b08264c1..8ce07321d0b6f5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -918,7 +918,7 @@ module.exports = { 'x-pack/plugins/observability_shared/observability_ai_assistant/**/*.tsx', 'x-pack/plugins/observability_onboarding/**/*.tsx', 'x-pack/plugins/observability_shared/**/*.tsx', - 'x-pack/plugins/profiling/**/*.tsx', + 'x-pack/plugins/observability_solution/profiling/**/*.tsx', 'x-pack/plugins/synthetics/**/*.tsx', 'x-pack/plugins/observability_solution/ux/**/*.tsx', 'src/plugins/ai_assistant_management/**/*.tsx', @@ -936,7 +936,7 @@ module.exports = { 'x-pack/plugins/observability_solution/observability_ai_assistant/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/observability_onboarding/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/observability_shared/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', - 'x-pack/plugins/profiling/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', + 'x-pack/plugins/observability_solution/profiling/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/synthetics/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'x-pack/plugins/observability_solution/ux/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', 'src/plugins/ai_assistant_management/**/!(*.stories.tsx|*.test.tsx|*.storybook_decorator.tsx|*.mock.tsx)', @@ -960,7 +960,7 @@ module.exports = { }, // Profiling { - files: ['x-pack/plugins/profiling/**/*.{js,mjs,ts,tsx}'], + files: ['x-pack/plugins/observability_solution/profiling/**/*.{js,mjs,ts,tsx}'], rules: { 'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks 'react-hooks/exhaustive-deps': [ diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 320e3c4ea39b73..b8b28bbe653eae 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -603,8 +603,8 @@ packages/presentation/presentation_library @elastic/kibana-presentation src/plugins/presentation_panel @elastic/kibana-presentation packages/presentation/presentation_publishing @elastic/kibana-presentation src/plugins/presentation_util @elastic/kibana-presentation -x-pack/plugins/profiling_data_access @elastic/obs-ux-infra_services-team -x-pack/plugins/profiling @elastic/obs-ux-infra_services-team +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/packages/kbn-random-sampling @elastic/kibana-visualizations packages/kbn-react-field @elastic/kibana-data-discovery diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index ea70e7aef0258b..23a7e207077786 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -1259,8 +1259,8 @@ tags: ['contributor', 'dev', 'apidocs', 'kibana'] | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/profiling/public/app.tsx#:~:text=KibanaThemeProvider), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/profiling/public/app.tsx#:~:text=KibanaThemeProvider), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/profiling/public/app.tsx#:~:text=KibanaThemeProvider) | - | -| | [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/profiling/public/components/contexts/license/license_context.tsx#:~:text=license%24) | 8.8.0 | +| | [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/public/app.tsx#:~:text=KibanaThemeProvider), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/public/app.tsx#:~:text=KibanaThemeProvider), [app.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/public/app.tsx#:~:text=KibanaThemeProvider) | - | +| | [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx#:~:text=license%24) | 8.8.0 | @@ -1725,4 +1725,4 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [shared_imports.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/shared_imports.ts#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/index.tsx#:~:text=KibanaThemeProvider), [index.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/application/index.tsx#:~:text=KibanaThemeProvider) | - | -| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24) | 8.8.0 | \ No newline at end of file +| | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/watcher/public/plugin.ts#:~:text=license%24) | 8.8.0 | diff --git a/api_docs/deprecations_by_team.mdx b/api_docs/deprecations_by_team.mdx index 97308f0e9945ed..b5c40a706eb884 100644 --- a/api_docs/deprecations_by_team.mdx +++ b/api_docs/deprecations_by_team.mdx @@ -119,7 +119,7 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | --------|-------|-----------|-----------| | apm | | [plugin.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/plugin.ts#:~:text=environment) | 8.8.0 | | apm | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | -| apm | | [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/context/license/license_context.tsx#:~:text=license%24), [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/profiling/public/components/contexts/license/license_context.tsx#:~:text=license%24) | 8.8.0 | +| apm | | [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/public/context/license/license_context.tsx#:~:text=license%24), [license_context.tsx](https://github.com/elastic/kibana/tree/main/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx#:~:text=license%24) | 8.8.0 | | apm | | [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | 8.8.0 | @@ -165,4 +165,4 @@ migrates to using the Kibana Privilege model: https://github.com/elastic/kibana/ | --------|-------|-----------|-----------| | securitySolution | | [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [create_default_policy.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/handlers/create_default_policy.test.ts#:~:text=mode), [create_default_policy.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/handlers/create_default_policy.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode)+ 7 more | 8.8.0 | | securitySolution | | [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [create_default_policy.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/handlers/create_default_policy.test.ts#:~:text=mode), [create_default_policy.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/fleet_integration/handlers/create_default_policy.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode)+ 7 more | 8.8.0 | -| securitySolution | | [create_threat_signals.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/threat_mapping/create_threat_signals.ts#:~:text=license%24), [query.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/query.ts#:~:text=license%24), [threshold.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/threshold.ts#:~:text=license%24) | 8.8.0 | \ No newline at end of file +| securitySolution | | [create_threat_signals.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/threat_mapping/create_threat_signals.ts#:~:text=license%24), [query.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/query.ts#:~:text=license%24), [threshold.ts](https://github.com/elastic/kibana/tree/main/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/threshold/threshold.ts#:~:text=license%24) | 8.8.0 | diff --git a/api_docs/kbn_core_http_server.devdocs.json b/api_docs/kbn_core_http_server.devdocs.json index 57a4d27052b2c1..c16ee3e43d6229 100644 --- a/api_docs/kbn_core_http_server.devdocs.json +++ b/api_docs/kbn_core_http_server.devdocs.json @@ -24,9 +24,7 @@ "type": "Class", "tags": [], "label": "RouteValidationError", - "description": [ - "\nError to return when the validation is not successful." - ], + "description": ["\nError to return when the validation is not successful."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -55,9 +53,7 @@ "tags": [], "label": "Constructor", "description": [], - "signature": [ - "any" - ], + "signature": ["any"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, @@ -69,9 +65,7 @@ "tags": [], "label": "error", "description": [], - "signature": [ - "string | Error" - ], + "signature": ["string | Error"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, @@ -84,9 +78,7 @@ "tags": [], "label": "path", "description": [], - "signature": [ - "string[]" - ], + "signature": ["string[]"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, @@ -130,9 +122,7 @@ "type": "string", "tags": [], "label": "version", - "description": [ - "\nVersion to assign to this route" - ], + "description": ["\nVersion to assign to this route"], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, "trackAdoption": false @@ -143,9 +133,7 @@ "type": "CompoundType", "tags": [], "label": "validate", - "description": [ - "\nValidation for this version of a route" - ], + "description": ["\nValidation for this version of a route"], "signature": [ "false | ", { @@ -170,9 +158,7 @@ "type": "Interface", "tags": [], "label": "AuthRedirectedParams", - "description": [ - "\nResult of auth redirection." - ], + "description": ["\nResult of auth redirection."], "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, @@ -296,9 +282,7 @@ "type": "Interface", "tags": [], "label": "AuthResultParams", - "description": [ - "\nResult of successful authentication." - ], + "description": ["\nResult of successful authentication."], "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, @@ -312,9 +296,7 @@ "description": [ "\nData to associate with an incoming request. Any downstream plugin may get access to the data." ], - "signature": [ - "Record | undefined" - ], + "signature": ["Record | undefined"], "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false @@ -577,9 +559,7 @@ "type": "Interface", "tags": [], "label": "CustomHttpResponseOptions", - "description": [ - "\nHTTP response parameters for a response with adjustable status code." - ], + "description": ["\nHTTP response parameters for a response with adjustable status code."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -600,12 +580,8 @@ "type": "Uncategorized", "tags": [], "label": "body", - "description": [ - "HTTP message to send to the client" - ], - "signature": [ - "T | undefined" - ], + "description": ["HTTP message to send to the client"], + "signature": ["T | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -616,9 +592,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "HTTP Headers with additional information about response" - ], + "description": ["HTTP Headers with additional information about response"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -639,12 +613,8 @@ "type": "CompoundType", "tags": [], "label": "bypassErrorFormat", - "description": [ - "Bypass the default error formatting" - ], - "signature": [ - "boolean | undefined" - ], + "description": ["Bypass the default error formatting"], + "signature": ["boolean | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -669,9 +639,7 @@ "type": "Interface", "tags": [], "label": "ErrorHttpResponseOptions", - "description": [ - "\nHTTP response parameters" - ], + "description": ["\nHTTP response parameters"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, @@ -682,9 +650,7 @@ "type": "CompoundType", "tags": [], "label": "body", - "description": [ - "HTTP message to send to the client" - ], + "description": ["HTTP message to send to the client"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -705,9 +671,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "HTTP Headers with additional information about response" - ], + "description": ["HTTP Headers with additional information about response"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -744,9 +708,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "The headers associated with the request." - ], + "description": ["The headers associated with the request."], "signature": [ "{ date?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; range?: string | string[] | undefined; from?: string | string[] | undefined; etag?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; allow?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; authorization?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; host?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], @@ -760,9 +722,7 @@ "type": "string", "tags": [], "label": "path", - "description": [ - "The path of the request" - ], + "description": ["The path of the request"], "path": "packages/core/http/core-http-server/src/router/raw_request.ts", "deprecated": false, "trackAdoption": false @@ -774,9 +734,7 @@ "tags": [], "label": "method", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "packages/core/http/core-http-server/src/router/raw_request.ts", "deprecated": false, "trackAdoption": false @@ -788,10 +746,7 @@ "tags": [], "label": "url", "description": [], - "signature": [ - "URL", - " | undefined" - ], + "signature": ["URL", " | undefined"], "path": "packages/core/http/core-http-server/src/router/raw_request.ts", "deprecated": false, "trackAdoption": false @@ -803,9 +758,7 @@ "tags": [], "label": "app", "description": [], - "signature": [ - "Record | undefined" - ], + "signature": ["Record | undefined"], "path": "packages/core/http/core-http-server/src/router/raw_request.ts", "deprecated": false, "trackAdoption": false @@ -817,9 +770,7 @@ "tags": [], "label": "auth", "description": [], - "signature": [ - "{ isAuthenticated?: boolean | undefined; } | undefined" - ], + "signature": ["{ isAuthenticated?: boolean | undefined; } | undefined"], "path": "packages/core/http/core-http-server/src/router/raw_request.ts", "deprecated": false, "trackAdoption": false @@ -857,9 +808,7 @@ "type": "Interface", "tags": [], "label": "FileHttpResponseOptions", - "description": [ - "\nHTTP response parameters for a response with adjustable status code." - ], + "description": ["\nHTTP response parameters for a response with adjustable status code."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -880,12 +829,8 @@ "type": "Uncategorized", "tags": [], "label": "body", - "description": [ - "Attachment content to send to the client" - ], - "signature": [ - "T" - ], + "description": ["Attachment content to send to the client"], + "signature": ["T"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -912,9 +857,7 @@ "description": [ "Explicitly set the attachment content type. Tries to detect the type based on extension and defaults to application/octet-stream" ], - "signature": [ - "string | null | undefined" - ], + "signature": ["string | null | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -928,9 +871,7 @@ "description": [ "Attachment content size in bytes, Tries to detect the content size from body" ], - "signature": [ - "number | undefined" - ], + "signature": ["number | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -941,9 +882,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "HTTP Headers with additional information about response" - ], + "description": ["HTTP Headers with additional information about response"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -964,12 +903,8 @@ "type": "CompoundType", "tags": [], "label": "bypassErrorFormat", - "description": [ - "Bypass the default error formatting" - ], - "signature": [ - "boolean | undefined" - ], + "description": ["Bypass the default error formatting"], + "signature": ["boolean | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -983,9 +918,7 @@ "description": [ "Bypass filename encoding, only set to true if the filename is already encoded" ], - "signature": [ - "boolean | undefined" - ], + "signature": ["boolean | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -999,9 +932,7 @@ "type": "Interface", "tags": [], "label": "FullValidationConfig", - "description": [ - "\nVersioned route validation" - ], + "description": ["\nVersioned route validation"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1022,9 +953,7 @@ "type": "CompoundType", "tags": [], "label": "request", - "description": [ - "\nValidation to run against route inputs: params, query and body" - ], + "description": ["\nValidation to run against route inputs: params, query and body"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1043,13 +972,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.FullValidationConfig.response", "type": "Object", - "tags": [ - "note" - ], + "tags": ["note"], "label": "response", - "description": [ - "\nValidation to run against route output" - ], + "description": ["\nValidation to run against route output"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1191,9 +1116,7 @@ "type": "Interface", "tags": [], "label": "HttpResponseOptions", - "description": [ - "\nHTTP response parameters" - ], + "description": ["\nHTTP response parameters"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1214,12 +1137,8 @@ "type": "Uncategorized", "tags": [], "label": "body", - "description": [ - "HTTP message to send to the client" - ], - "signature": [ - "T | undefined" - ], + "description": ["HTTP message to send to the client"], + "signature": ["T | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -1230,9 +1149,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "HTTP Headers with additional information about response" - ], + "description": ["HTTP Headers with additional information about response"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1253,12 +1170,8 @@ "type": "CompoundType", "tags": [], "label": "bypassErrorFormat", - "description": [ - "Bypass the default error formatting" - ], - "signature": [ - "boolean | undefined" - ], + "description": ["Bypass the default error formatting"], + "signature": ["boolean | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false @@ -1285,9 +1198,7 @@ "type": "string", "tags": [], "label": "name", - "description": [ - "The name of the Kibana server" - ], + "description": ["The name of the Kibana server"], "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false @@ -1298,9 +1209,7 @@ "type": "string", "tags": [], "label": "hostname", - "description": [ - "The hostname of the server" - ], + "description": ["The hostname of the server"], "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false @@ -1311,9 +1220,7 @@ "type": "number", "tags": [], "label": "port", - "description": [ - "The port the server is listening on" - ], + "description": ["The port the server is listening on"], "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false @@ -1324,12 +1231,8 @@ "type": "CompoundType", "tags": [], "label": "protocol", - "description": [ - "The protocol used by the server" - ], - "signature": [ - "\"http\" | \"https\" | \"socket\"" - ], + "description": ["The protocol used by the server"], + "signature": ["\"http\" | \"https\" | \"socket\""], "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false @@ -1391,9 +1294,7 @@ "tags": [], "label": "path", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, @@ -1431,9 +1332,7 @@ "type": "Object", "tags": [], "label": "basePath", - "description": [ - "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." - ], + "description": ["\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1587,9 +1486,7 @@ "type": "Function", "tags": [], "label": "handler", - "description": [ - "{@link OnPreRoutingHandler } - function to call." - ], + "description": ["{@link OnPreRoutingHandler } - function to call."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1637,9 +1534,7 @@ "type": "Function", "tags": [], "label": "handler", - "description": [ - "{@link OnPreRoutingHandler } - function to call." - ], + "description": ["{@link OnPreRoutingHandler } - function to call."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1737,9 +1632,7 @@ "type": "Function", "tags": [], "label": "handler", - "description": [ - "{@link OnPostAuthHandler } - function to call." - ], + "description": ["{@link OnPostAuthHandler } - function to call."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1763,9 +1656,7 @@ "type": "Function", "tags": [], "label": "registerOnPreResponse", - "description": [ - "\nTo define custom logic to perform for the server response.\n" - ], + "description": ["\nTo define custom logic to perform for the server response.\n"], "signature": [ "(handler: ", { @@ -1787,9 +1678,7 @@ "type": "Function", "tags": [], "label": "handler", - "description": [ - "{@link OnPreResponseHandler } - function to call." - ], + "description": ["{@link OnPreResponseHandler } - function to call."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1813,9 +1702,7 @@ "type": "Object", "tags": [], "label": "basePath", - "description": [ - "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." - ], + "description": ["\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1857,9 +1744,7 @@ "type": "Object", "tags": [], "label": "csp", - "description": [ - "\nThe CSP config used for Kibana." - ], + "description": ["\nThe CSP config used for Kibana."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -1905,9 +1790,7 @@ "type": "Function", "tags": [], "label": "registerRouteHandlerContext", - "description": [ - "\nRegister a context provider for a route handler." - ], + "description": ["\nRegister a context provider for a route handler."], "signature": [ ">(contextName: ContextName, provider: ", { @@ -1937,9 +1820,7 @@ "tags": [], "label": "contextName", "description": [], - "signature": [ - "ContextName" - ], + "signature": ["ContextName"], "path": "packages/core/http/core-http-server/src/http_contract.ts", "deprecated": false, "trackAdoption": false, @@ -2015,9 +1896,7 @@ "type": "Object", "tags": [], "label": "basePath", - "description": [ - "\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}." - ], + "description": ["\nAccess or manipulate the Kibana base path\nSee {@link IBasePath}."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -2059,9 +1938,7 @@ "type": "Object", "tags": [], "label": "auth", - "description": [ - "\nAuth status.\nSee {@link HttpAuth}" - ], + "description": ["\nAuth status.\nSee {@link HttpAuth}"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -2173,9 +2050,7 @@ "tags": [], "label": "headers", "description": [], - "signature": [ - "{ [x: string]: string | string[]; }" - ], + "signature": ["{ [x: string]: string | string[]; }"], "path": "packages/core/http/core-http-server/src/auth_headers.ts", "deprecated": false, "trackAdoption": false @@ -2245,9 +2120,7 @@ "type": "Interface", "tags": [], "label": "IBasePath", - "description": [ - "\nAccess or manipulate the Kibana base path\n" - ], + "description": ["\nAccess or manipulate the Kibana base path\n"], "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, @@ -2274,9 +2147,7 @@ "description": [ "\nThe server's publicly exposed base URL, if configured. Includes protocol, host, port (optional) and the\n{@link IBasePath.serverBasePath}.\n" ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false @@ -2287,9 +2158,7 @@ "type": "Function", "tags": [], "label": "get", - "description": [ - "\nreturns `basePath` value, specific for an incoming request." - ], + "description": ["\nreturns `basePath` value, specific for an incoming request."], "signature": [ "(request: ", { @@ -2336,9 +2205,7 @@ "type": "Function", "tags": [], "label": "set", - "description": [ - "\nsets `basePath` value, specific for an incoming request." - ], + "description": ["\nsets `basePath` value, specific for an incoming request."], "signature": [ "(request: ", { @@ -2383,9 +2250,7 @@ "tags": [], "label": "requestSpecificBasePath", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, @@ -2400,12 +2265,8 @@ "type": "Function", "tags": [], "label": "prepend", - "description": [ - "\nPrepends `path` with the basePath." - ], - "signature": [ - "(path: string) => string" - ], + "description": ["\nPrepends `path` with the basePath."], + "signature": ["(path: string) => string"], "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, @@ -2417,9 +2278,7 @@ "tags": [], "label": "path", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, @@ -2434,12 +2293,8 @@ "type": "Function", "tags": [], "label": "remove", - "description": [ - "\nRemoves the prepended basePath from the `path`." - ], - "signature": [ - "(path: string) => string" - ], + "description": ["\nRemoves the prepended basePath from the `path`."], + "signature": ["(path: string) => string"], "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, @@ -2451,9 +2306,7 @@ "tags": [], "label": "path", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "packages/core/http/core-http-server/src/base_path.ts", "deprecated": false, "trackAdoption": false, @@ -2484,9 +2337,7 @@ "type": "Function", "tags": [], "label": "registerContext", - "description": [ - "\nRegister a new context provider.\n" - ], + "description": ["\nRegister a new context provider.\n"], "signature": [ " string | null" - ], + "signature": ["() => string | null"], "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false, @@ -3115,9 +2932,7 @@ "tags": [], "label": "rejectUnauthorized", "description": [], - "signature": [ - "boolean | undefined" - ], + "signature": ["boolean | undefined"], "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false @@ -3129,9 +2944,7 @@ "tags": [], "label": "requestCert", "description": [], - "signature": [ - "boolean | undefined" - ], + "signature": ["boolean | undefined"], "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false @@ -3152,9 +2965,7 @@ "description": [ "\nIndicates whether or not the peer certificate was signed by one of the specified CAs. When TLS\nisn't used the value is `undefined`." ], - "signature": [ - "boolean | undefined" - ], + "signature": ["boolean | undefined"], "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false @@ -3168,9 +2979,7 @@ "description": [ "\nThe reason why the peer's certificate has not been verified. This property becomes available\nonly when `authorized` is `false`." ], - "signature": [ - "Error | undefined" - ], + "signature": ["Error | undefined"], "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false @@ -3184,9 +2993,7 @@ "description": [ "\nThe string representation of the remote IP address. For example,`'74.125.127.100'` or\n`'2001:4860:a005::68'`. Value may be `undefined` if the socket is destroyed (for example, if\nthe client disconnected)." ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "packages/core/http/core-http-server/src/router/socket.ts", "deprecated": false, "trackAdoption": false @@ -3223,9 +3030,7 @@ "type": "string", "tags": [], "label": "routerPath", - "description": [ - "\nResulted path" - ], + "description": ["\nResulted path"], "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false @@ -3234,13 +3039,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.IRouter.get", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "get", - "description": [ - "\nRegister a route handler for `GET` request." - ], + "description": ["\nRegister a route handler for `GET` request."], "signature": [ "(route: ", { @@ -4358,35 +4159,35 @@ }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/flamechart.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/flamechart.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/functions.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/functions.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/setup/route.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/setup/route.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/storage_explorer/route.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/storage_explorer/route.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/storage_explorer/route.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/topn.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/topn.ts" }, { "plugin": "reporting", @@ -5657,9 +5458,7 @@ "type": "Object", "tags": [], "label": "route", - "description": [ - "{@link RouteConfig } - a route configuration." - ], + "description": ["{@link RouteConfig } - a route configuration."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -5730,9 +5529,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -5765,9 +5562,7 @@ "tags": [], "label": "response", "description": [], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -5780,13 +5575,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.IRouter.post", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "post", - "description": [ - "\nRegister a route handler for `POST` request." - ], + "description": ["\nRegister a route handler for `POST` request."], "signature": [ "(route: ", { @@ -6816,7 +6607,7 @@ }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/server/routes/setup/route.ts" + "path": "x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts" }, { "plugin": "reporting", @@ -7851,9 +7642,7 @@ "type": "Object", "tags": [], "label": "route", - "description": [ - "{@link RouteConfig } - a route configuration." - ], + "description": ["{@link RouteConfig } - a route configuration."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -7924,9 +7713,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -7959,9 +7746,7 @@ "tags": [], "label": "response", "description": [], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -7974,13 +7759,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.IRouter.put", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "put", - "description": [ - "\nRegister a route handler for `PUT` request." - ], + "description": ["\nRegister a route handler for `PUT` request."], "signature": [ "(route: ", { @@ -8541,9 +8322,7 @@ "type": "Object", "tags": [], "label": "route", - "description": [ - "{@link RouteConfig } - a route configuration." - ], + "description": ["{@link RouteConfig } - a route configuration."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -8614,9 +8393,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -8649,9 +8426,7 @@ "tags": [], "label": "response", "description": [], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -8664,13 +8439,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.IRouter.patch", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "patch", - "description": [ - "\nRegister a route handler for `PATCH` request." - ], + "description": ["\nRegister a route handler for `PATCH` request."], "signature": [ "(route: ", { @@ -8827,9 +8598,7 @@ "type": "Object", "tags": [], "label": "route", - "description": [ - "{@link RouteConfig } - a route configuration." - ], + "description": ["{@link RouteConfig } - a route configuration."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -8900,9 +8669,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -8935,9 +8702,7 @@ "tags": [], "label": "response", "description": [], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -8950,13 +8715,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.IRouter.delete", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "delete", - "description": [ - "\nRegister a route handler for `DELETE` request." - ], + "description": ["\nRegister a route handler for `DELETE` request."], "signature": [ "(route: ", { @@ -9437,9 +9198,7 @@ "type": "Object", "tags": [], "label": "route", - "description": [ - "{@link RouteConfig } - a route configuration." - ], + "description": ["{@link RouteConfig } - a route configuration."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -9510,9 +9269,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -9545,9 +9302,7 @@ "tags": [], "label": "response", "description": [], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -9635,9 +9390,7 @@ "type": "Function", "tags": [], "label": "handler", - "description": [ - "{@link RequestHandler } - a route handler to wrap" - ], + "description": ["{@link RequestHandler } - a route handler to wrap"], "signature": [ "(context: Context, request: ", { @@ -9677,9 +9430,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -9712,9 +9463,7 @@ "tags": [], "label": "response", "description": [], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -9727,9 +9476,7 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.IRouter.versioned", "type": "Object", - "tags": [ - "experimental" - ], + "tags": ["experimental"], "label": "versioned", "description": [ "\nAn instance very similar to {@link IRouter} that can be used for versioning HTTP routes\nfollowing the Elastic versioning specification.\n" @@ -9757,9 +9504,7 @@ "type": "Interface", "tags": [], "label": "IStaticAssets", - "description": [ - "\nAPIs for creating hrefs to static assets.\n" - ], + "description": ["\nAPIs for creating hrefs to static assets.\n"], "path": "packages/core/http/core-http-server/src/static_assets.ts", "deprecated": false, "trackAdoption": false, @@ -9773,9 +9518,7 @@ "description": [ "\nGets the full href to the current plugin's asset,\ngiven its path relative to the plugin's `public/assets` folder.\n" ], - "signature": [ - "(assetPath: string) => string" - ], + "signature": ["(assetPath: string) => string"], "path": "packages/core/http/core-http-server/src/static_assets.ts", "deprecated": false, "trackAdoption": false, @@ -9787,9 +9530,7 @@ "tags": [], "label": "assetPath", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "packages/core/http/core-http-server/src/static_assets.ts", "deprecated": false, "trackAdoption": false, @@ -9802,16 +9543,12 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.IStaticAssets.prependPublicUrl", "type": "Function", - "tags": [ - "note" - ], + "tags": ["note"], "label": "prependPublicUrl", "description": [ "\nWill return an href, either a path for or full URL with the provided path\nappended to the static assets public base path.\n\nUseful for instances were you need to render your own HTML page and link to\ncertain static assets.\n" ], - "signature": [ - "(pathname: string) => string" - ], + "signature": ["(pathname: string) => string"], "path": "packages/core/http/core-http-server/src/static_assets.ts", "deprecated": false, "trackAdoption": false, @@ -9823,9 +9560,7 @@ "tags": [], "label": "pathname", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "packages/core/http/core-http-server/src/static_assets.ts", "deprecated": false, "trackAdoption": false, @@ -9972,9 +9707,7 @@ "type": "Function", "tags": [], "label": "forbidden", - "description": [ - "\nServer cannot grant access to a resource.\nStatus code: `403`." - ], + "description": ["\nServer cannot grant access to a resource.\nStatus code: `403`."], "signature": [ "(options?: ", { @@ -10149,9 +9882,7 @@ "type": "Function", "tags": [], "label": "customError", - "description": [ - "\nCreates an error response with defined status code and payload." - ], + "description": ["\nCreates an error response with defined status code and payload."], "signature": [ "(options: ", { @@ -10242,9 +9973,7 @@ "type": "Function", "tags": [], "label": "notModified", - "description": [ - "\nContent not modified.\nStatus code: `304`." - ], + "description": ["\nContent not modified.\nStatus code: `304`."], "signature": [ "(options: ", { @@ -10315,9 +10044,7 @@ "type": "Function", "tags": [], "label": "redirected", - "description": [ - "\nRedirect to a different URI.\nStatus code: `302`." - ], + "description": ["\nRedirect to a different URI.\nStatus code: `302`."], "signature": [ "(options: ", { @@ -10376,9 +10103,7 @@ "type": "Interface", "tags": [], "label": "KibanaRequest", - "description": [ - "\nKibana specific abstraction for an incoming request." - ], + "description": ["\nKibana specific abstraction for an incoming request."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -10399,9 +10124,7 @@ "type": "string", "tags": [], "label": "id", - "description": [ - "\nA identifier to identify this request.\n" - ], + "description": ["\nA identifier to identify this request.\n"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10412,9 +10135,7 @@ "type": "string", "tags": [], "label": "uuid", - "description": [ - "\nA UUID to identify this request.\n" - ], + "description": ["\nA UUID to identify this request.\n"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10425,12 +10146,8 @@ "type": "Object", "tags": [], "label": "url", - "description": [ - "a WHATWG URL standard object." - ], - "signature": [ - "URL" - ], + "description": ["a WHATWG URL standard object."], + "signature": ["URL"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10441,9 +10158,7 @@ "type": "Object", "tags": [], "label": "route", - "description": [ - "matched route details" - ], + "description": ["matched route details"], "signature": [ "{ readonly path: string; readonly method: ", { @@ -10481,9 +10196,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "\nReadonly copy of incoming request headers." - ], + "description": ["\nReadonly copy of incoming request headers."], "signature": [ "{ date?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; range?: string | string[] | undefined; from?: string | string[] | undefined; etag?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; allow?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; authorization?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; host?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], @@ -10521,13 +10234,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.KibanaRequest.isInternalApiRequest", "type": "boolean", - "tags": [ - "note" - ], + "tags": ["note"], "label": "isInternalApiRequest", - "description": [ - "\nAn internal request has access to internal routes." - ], + "description": ["\nAn internal request has access to internal routes."], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10582,9 +10291,7 @@ "type": "Object", "tags": [], "label": "auth", - "description": [ - "\nThe auth status of this request.\nSee {@link KibanaRequestAuth}." - ], + "description": ["\nThe auth status of this request.\nSee {@link KibanaRequestAuth}."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -10604,13 +10311,8 @@ "type": "Object", "tags": [], "label": "rewrittenUrl", - "description": [ - "\nURL rewritten in onPreRouting request interceptor." - ], - "signature": [ - "URL", - " | undefined" - ], + "description": ["\nURL rewritten in onPreRouting request interceptor."], + "signature": ["URL", " | undefined"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10621,12 +10323,8 @@ "type": "Uncategorized", "tags": [], "label": "params", - "description": [ - "\nThe path parameter of this request." - ], - "signature": [ - "Params" - ], + "description": ["\nThe path parameter of this request."], + "signature": ["Params"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10637,12 +10335,8 @@ "type": "Uncategorized", "tags": [], "label": "query", - "description": [ - "\nThe query parameter of this request." - ], - "signature": [ - "Query" - ], + "description": ["\nThe query parameter of this request."], + "signature": ["Query"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10653,12 +10347,8 @@ "type": "Uncategorized", "tags": [], "label": "body", - "description": [ - "\nThe body payload of this request." - ], - "signature": [ - "Body" - ], + "description": ["\nThe body payload of this request."], + "signature": ["Body"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10672,9 +10362,7 @@ "type": "Interface", "tags": [], "label": "KibanaRequestAuth", - "description": [ - "\nAuth status for this request." - ], + "description": ["\nAuth status for this request."], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false, @@ -10701,9 +10389,7 @@ "type": "Interface", "tags": [], "label": "KibanaRequestEvents", - "description": [ - "\nRequest events." - ], + "description": ["\nRequest events."], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false, @@ -10717,10 +10403,7 @@ "description": [ "\nObservable that emits once if and when the request has been aborted." ], - "signature": [ - "Observable", - "" - ], + "signature": ["Observable", ""], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10734,10 +10417,7 @@ "description": [ "\nObservable that emits once if and when the request has been completely handled.\n" ], - "signature": [ - "Observable", - "" - ], + "signature": ["Observable", ""], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10751,9 +10431,7 @@ "type": "Interface", "tags": [], "label": "KibanaRequestRoute", - "description": [ - "\nRequest specific route information exposed to a handler." - ], + "description": ["\nRequest specific route information exposed to a handler."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -10786,9 +10464,7 @@ "tags": [], "label": "method", "description": [], - "signature": [ - "Method" - ], + "signature": ["Method"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10877,10 +10553,7 @@ "tags": [], "label": "rewrittenUrl", "description": [], - "signature": [ - "URL", - " | undefined" - ], + "signature": ["URL", " | undefined"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10892,9 +10565,7 @@ "tags": [], "label": "traceId", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10906,9 +10577,7 @@ "tags": [], "label": "measureElu", "description": [], - "signature": [ - "(() => void) | undefined" - ], + "signature": ["(() => void) | undefined"], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false, @@ -10958,9 +10627,7 @@ "tags": [], "label": "access", "description": [], - "signature": [ - "\"public\" | \"internal\"" - ], + "signature": ["\"public\" | \"internal\""], "path": "packages/core/http/core-http-server/src/router/request.ts", "deprecated": false, "trackAdoption": false @@ -10985,9 +10652,7 @@ "type": "Function", "tags": [], "label": "ok", - "description": [ - "\nThe request has succeeded.\nStatus code: `200`." - ], + "description": ["\nThe request has succeeded.\nStatus code: `200`."], "signature": [ " | Error | Buffer | ", "Stream", @@ -11054,9 +10719,7 @@ "type": "Function", "tags": [], "label": "accepted", - "description": [ - "\nThe request has been accepted for processing.\nStatus code: `202`." - ], + "description": ["\nThe request has been accepted for processing.\nStatus code: `202`."], "signature": [ " | Error | Buffer | ", "Stream", @@ -11230,9 +10893,7 @@ "type": "Function", "tags": [], "label": "next", - "description": [ - "To pass request to the next handler" - ], + "description": ["To pass request to the next handler"], "signature": [ "() => ", { @@ -11303,9 +10964,7 @@ "type": "Function", "tags": [], "label": "next", - "description": [ - "To pass request to the next handler" - ], + "description": ["To pass request to the next handler"], "signature": [ "() => ", { @@ -11331,9 +10990,7 @@ "type": "Interface", "tags": [], "label": "OnPreResponseExtensions", - "description": [ - "\nAdditional data to extend a response." - ], + "description": ["\nAdditional data to extend a response."], "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, @@ -11344,9 +11001,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "additional headers to attach to the response" - ], + "description": ["additional headers to attach to the response"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -11370,9 +11025,7 @@ "type": "Interface", "tags": [], "label": "OnPreResponseInfo", - "description": [ - "\nResponse status code." - ], + "description": ["\nResponse status code."], "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, @@ -11397,9 +11050,7 @@ "type": "Interface", "tags": [], "label": "OnPreResponseRender", - "description": [ - "\nAdditional data to extend a response when rendering a new body" - ], + "description": ["\nAdditional data to extend a response when rendering a new body"], "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false, @@ -11410,9 +11061,7 @@ "type": "CompoundType", "tags": [], "label": "headers", - "description": [ - "additional headers to attach to the response" - ], + "description": ["additional headers to attach to the response"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -11433,9 +11082,7 @@ "type": "string", "tags": [], "label": "body", - "description": [ - "the body to use in the response" - ], + "description": ["the body to use in the response"], "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_response.ts", "deprecated": false, "trackAdoption": false @@ -11585,9 +11232,7 @@ "type": "Function", "tags": [], "label": "render", - "description": [ - "To override the response with a different body" - ], + "description": ["To override the response with a different body"], "signature": [ "(responseRender: ", { @@ -11640,9 +11285,7 @@ "type": "Function", "tags": [], "label": "next", - "description": [ - "To pass request to the next handler" - ], + "description": ["To pass request to the next handler"], "signature": [ "(responseExtensions?: ", { @@ -11791,9 +11434,7 @@ "type": "Function", "tags": [], "label": "next", - "description": [ - "To pass request to the next handler" - ], + "description": ["To pass request to the next handler"], "signature": [ "() => ", { @@ -11840,9 +11481,7 @@ "tags": [], "label": "url", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "packages/core/http/core-http-server/src/lifecycle/on_pre_routing.ts", "deprecated": false, "trackAdoption": false, @@ -11860,9 +11499,7 @@ "type": "Interface", "tags": [], "label": "RequestHandlerContextBase", - "description": [ - "\nBase, abstract type for request handler contexts." - ], + "description": ["\nBase, abstract type for request handler contexts."], "path": "packages/core/http/core-http-server/src/router/request_handler_context.ts", "deprecated": false, "trackAdoption": false, @@ -11873,9 +11510,7 @@ "type": "Function", "tags": [], "label": "resolve", - "description": [ - "\nAwait all the specified context parts and return them.\n" - ], + "description": ["\nAwait all the specified context parts and return them.\n"], "signature": [ ">(parts: T[]) => Promise<", { @@ -11898,9 +11533,7 @@ "tags": [], "label": "parts", "description": [], - "signature": [ - "T[]" - ], + "signature": ["T[]"], "path": "packages/core/http/core-http-server/src/router/request_handler_context.ts", "deprecated": false, "trackAdoption": false, @@ -11918,9 +11551,7 @@ "type": "Interface", "tags": [], "label": "RouteConfig", - "description": [ - "\nRoute specific configuration." - ], + "description": ["\nRoute specific configuration."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -11941,9 +11572,7 @@ "type": "string", "tags": [], "label": "path", - "description": [ - "\nThe endpoint _within_ the router path to register the route.\n" - ], + "description": ["\nThe endpoint _within_ the router path to register the route.\n"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -11978,9 +11607,7 @@ "type": "Object", "tags": [], "label": "options", - "description": [ - "\nAdditional route options {@link RouteConfigOptions}." - ], + "description": ["\nAdditional route options {@link RouteConfigOptions}."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12004,9 +11631,7 @@ "type": "Interface", "tags": [], "label": "RouteConfigOptions", - "description": [ - "\nAdditional route options." - ], + "description": ["\nAdditional route options."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12030,9 +11655,7 @@ "description": [ "\nDefines authentication mode for a route:\n- true. A user has to have valid credentials to access a resource\n- false. A user can access a resource without any credentials.\n- 'optional'. A user can access a resource, and will be authenticated if provided credentials are valid.\n Can be useful when we grant access to a resource but want to identify a user if possible.\n\nDefaults to `true` if an auth mechanism is registered." ], - "signature": [ - "boolean | \"optional\" | undefined" - ], + "signature": ["boolean | \"optional\" | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12046,9 +11669,7 @@ "description": [ "\nDefines xsrf protection requirements for a route:\n- true. Requires an incoming POST/PUT/DELETE request to contain `kbn-xsrf` header.\n- false. Disables xsrf protection.\n\nSet to true by default" ], - "signature": [ - "(Method extends \"get\" ? never : boolean) | undefined" - ], + "signature": ["(Method extends \"get\" ? never : boolean) | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12062,9 +11683,7 @@ "description": [ "\nDefines intended request origin of the route:\n- public. The route is public, declared stable and intended for external access.\n In the future, may require an incomming request to contain a specified header.\n- internal. The route is internal and intended for internal access only.\n\nDefaults to 'internal' If not declared," ], - "signature": [ - "\"public\" | \"internal\" | undefined" - ], + "signature": ["\"public\" | \"internal\" | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12075,12 +11694,8 @@ "type": "Object", "tags": [], "label": "tags", - "description": [ - "\nAdditional metadata tag strings to attach to the route." - ], - "signature": [ - "readonly string[] | undefined" - ], + "description": ["\nAdditional metadata tag strings to attach to the route."], + "signature": ["readonly string[] | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12091,9 +11706,7 @@ "type": "Uncategorized", "tags": [], "label": "body", - "description": [ - "\nAdditional body options {@link RouteConfigOptionsBody}." - ], + "description": ["\nAdditional body options {@link RouteConfigOptionsBody}."], "signature": [ "(Method extends \"get\" | \"options\" ? undefined : ", { @@ -12115,9 +11728,7 @@ "type": "Object", "tags": [], "label": "timeout", - "description": [ - "\nDefines per-route timeouts." - ], + "description": ["\nDefines per-route timeouts."], "signature": [ "{ payload?: (Method extends \"get\" | \"options\" ? undefined : number) | undefined; idleSocket?: number | undefined; } | undefined" ], @@ -12134,9 +11745,7 @@ "type": "Interface", "tags": [], "label": "RouteConfigOptionsBody", - "description": [ - "\nAdditional body options for a route" - ], + "description": ["\nAdditional body options for a route"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, @@ -12174,9 +11783,7 @@ "description": [ "\nA mime type string overriding the 'Content-Type' header value received." ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12190,9 +11797,7 @@ "description": [ "\nLimits the size of incoming payloads to the specified byte count. Allowing very large payloads may cause the server to run out of memory.\n\nDefault value: The one set in the kibana.yml config file under the parameter `server.maxPayload`." ], - "signature": [ - "number | undefined" - ], + "signature": ["number | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12206,9 +11811,7 @@ "description": [ "\nThe processed payload format. The value must be one of:\n* 'data' - the incoming payload is read fully into memory. If parse is true, the payload is parsed (JSON, form-decoded, multipart) based on the 'Content-Type' header. If parse is false, a raw\nBuffer is returned.\n* 'stream' - the incoming payload is made available via a Stream.Readable interface. If the payload is 'multipart/form-data' and parse is true, field values are presented as text while files\nare provided as streams. File streams from a 'multipart/form-data' upload will also have a hapi property containing the filename and headers properties. Note that payload streams for multipart\npayloads are a synthetic interface created on top of the entire multipart content loaded into memory. To avoid loading large multipart payloads into memory, set parse to false and handle the\nmultipart payload in the handler using a streaming parser (e.g. pez).\n\nDefault value: 'data', unless no validation.body is provided in the route definition. In that case the default is 'stream' to alleviate memory pressure." ], - "signature": [ - "\"data\" | \"stream\" | undefined" - ], + "signature": ["\"data\" | \"stream\" | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12222,9 +11825,7 @@ "description": [ "\nDetermines if the incoming payload is processed or presented raw. Available values:\n* true - if the request 'Content-Type' matches the allowed mime types set by allow (for the whole payload as well as parts), the payload is converted into an object when possible. If the\nformat is unknown, a Bad Request (400) error response is sent. Any known content encoding is decoded.\n* false - the raw payload is returned unmodified.\n* 'gunzip' - the raw payload is returned unmodified after any known content encoding is decoded.\n\nDefault value: true, unless no validation.body is provided in the route definition. In that case the default is false to alleviate memory pressure." ], - "signature": [ - "boolean | \"gunzip\" | undefined" - ], + "signature": ["boolean | \"gunzip\" | undefined"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false @@ -12340,9 +11941,7 @@ "tags": [], "label": "req", "description": [], - "signature": [ - "Request" - ], + "signature": ["Request"], "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, @@ -12355,9 +11954,7 @@ "tags": [], "label": "responseToolkit", "description": [], - "signature": [ - "ResponseToolkit" - ], + "signature": ["ResponseToolkit"], "path": "packages/core/http/core-http-server/src/router/router.ts", "deprecated": false, "trackAdoption": false, @@ -12389,9 +11986,7 @@ "tags": [], "label": "ok", "description": [], - "signature": [ - "(value: T) => { value: T; }" - ], + "signature": ["(value: T) => { value: T; }"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, @@ -12403,9 +11998,7 @@ "tags": [], "label": "value", "description": [], - "signature": [ - "T" - ], + "signature": ["T"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, @@ -12443,9 +12036,7 @@ "tags": [], "label": "error", "description": [], - "signature": [ - "string | Error" - ], + "signature": ["string | Error"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, @@ -12458,9 +12049,7 @@ "tags": [], "label": "path", "description": [], - "signature": [ - "string[] | undefined" - ], + "signature": ["string[] | undefined"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false, @@ -12501,9 +12090,7 @@ "type": "CompoundType", "tags": [], "label": "params", - "description": [ - "\nValidation logic for the URL params" - ], + "description": ["\nValidation logic for the URL params"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12524,9 +12111,7 @@ "type": "CompoundType", "tags": [], "label": "query", - "description": [ - "\nValidation logic for the Query params" - ], + "description": ["\nValidation logic for the Query params"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12547,9 +12132,7 @@ "type": "CompoundType", "tags": [], "label": "body", - "description": [ - "\nValidation logic for the body payload" - ], + "description": ["\nValidation logic for the body payload"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12605,9 +12188,7 @@ "type": "Interface", "tags": [], "label": "SessionCookieValidationResult", - "description": [ - "\nReturn type from a function to validate cookie contents." - ], + "description": ["\nReturn type from a function to validate cookie contents."], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, @@ -12618,9 +12199,7 @@ "type": "boolean", "tags": [], "label": "isValid", - "description": [ - "\nWhether the cookie is valid or not." - ], + "description": ["\nWhether the cookie is valid or not."], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false @@ -12634,9 +12213,7 @@ "description": [ "\nThe \"Path\" attribute of the cookie; if the cookie is invalid, this is used to clear it." ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false @@ -12650,9 +12227,7 @@ "type": "Interface", "tags": [], "label": "SessionStorage", - "description": [ - "\nProvides an interface to store and retrieve data across requests." - ], + "description": ["\nProvides an interface to store and retrieve data across requests."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12673,12 +12248,8 @@ "type": "Function", "tags": [], "label": "get", - "description": [ - "\nRetrieves session value from the session storage." - ], - "signature": [ - "() => Promise" - ], + "description": ["\nRetrieves session value from the session storage."], + "signature": ["() => Promise"], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, @@ -12691,12 +12262,8 @@ "type": "Function", "tags": [], "label": "set", - "description": [ - "\nPuts current session value into the session storage." - ], - "signature": [ - "(sessionValue: T) => void" - ], + "description": ["\nPuts current session value into the session storage."], + "signature": ["(sessionValue: T) => void"], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, @@ -12707,12 +12274,8 @@ "type": "Uncategorized", "tags": [], "label": "sessionValue", - "description": [ - "- value to put" - ], - "signature": [ - "T" - ], + "description": ["- value to put"], + "signature": ["T"], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, @@ -12727,12 +12290,8 @@ "type": "Function", "tags": [], "label": "clear", - "description": [ - "\nClears current session." - ], - "signature": [ - "() => void" - ], + "description": ["\nClears current session."], + "signature": ["() => void"], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, @@ -12771,9 +12330,7 @@ "type": "string", "tags": [], "label": "name", - "description": [ - "\nName of the session cookie." - ], + "description": ["\nName of the session cookie."], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false @@ -12797,9 +12354,7 @@ "type": "Function", "tags": [], "label": "validate", - "description": [ - "\nFunction called to validate a cookie's decrypted value." - ], + "description": ["\nFunction called to validate a cookie's decrypted value."], "signature": [ "(sessionValue: T | T[]) => ", { @@ -12821,9 +12376,7 @@ "tags": [], "label": "sessionValue", "description": [], - "signature": [ - "T | T[]" - ], + "signature": ["T | T[]"], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false, @@ -12854,9 +12407,7 @@ "description": [ "\nDefines SameSite attribute of the Set-Cookie Header.\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite" ], - "signature": [ - "\"None\" | \"Strict\" | \"Lax\" | undefined" - ], + "signature": ["\"None\" | \"Strict\" | \"Lax\" | undefined"], "path": "packages/core/http/core-http-server/src/session_storage.ts", "deprecated": false, "trackAdoption": false @@ -12870,9 +12421,7 @@ "type": "Interface", "tags": [], "label": "SessionStorageFactory", - "description": [ - "\nSessionStorage factory to bind one to an incoming request" - ], + "description": ["\nSessionStorage factory to bind one to an incoming request"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12951,9 +12500,7 @@ "type": "Interface", "tags": [], "label": "VersionedRoute", - "description": [ - "\nA versioned route" - ], + "description": ["\nA versioned route"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -12974,9 +12521,7 @@ "type": "Function", "tags": [], "label": "addVersion", - "description": [ - "\nAdd a new version of this route" - ], + "description": ["\nAdd a new version of this route"], "signature": [ "

(options: ", { @@ -13060,9 +12605,7 @@ "type": "Function", "tags": [], "label": "handler", - "description": [ - "The request handler for this version of a route" - ], + "description": ["The request handler for this version of a route"], "signature": [ "(context: Ctx, request: ", { @@ -13138,9 +12681,7 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.VersionedRouter.get", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "get", "description": [], "signature": [ @@ -14145,9 +13686,7 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.VersionedRouter.put", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "put", "description": [], "signature": [ @@ -14420,9 +13959,7 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.VersionedRouter.post", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "post", "description": [], "signature": [ @@ -15371,9 +14908,7 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.VersionedRouter.patch", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "patch", "description": [], "signature": [ @@ -15498,9 +15033,7 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.VersionedRouter.delete", "type": "Function", - "tags": [ - "track-adoption" - ], + "tags": ["track-adoption"], "label": "delete", "description": [], "signature": [ @@ -15792,9 +15325,7 @@ "tags": [], "label": "unsafe", "description": [], - "signature": [ - "{ body?: boolean | undefined; } | undefined" - ], + "signature": ["{ body?: boolean | undefined; } | undefined"], "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, "trackAdoption": false @@ -15822,9 +15353,7 @@ "type": "Enum", "tags": [], "label": "AuthStatus", - "description": [ - "\nStatus indicating an outcome of the authentication." - ], + "description": ["\nStatus indicating an outcome of the authentication."], "path": "packages/core/http/core-http-server/src/auth_state.ts", "deprecated": false, "trackAdoption": false, @@ -15860,18 +15389,10 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.ApiVersion", "type": "Type", - "tags": [ - "note", - "note", - "experimental" - ], + "tags": ["note", "note", "experimental"], "label": "ApiVersion", - "description": [ - "\nA Kibana HTTP API version\n" - ], - "signature": [ - "string" - ], + "description": ["\nA Kibana HTTP API version\n"], + "signature": ["string"], "path": "packages/core/http/core-http-common/src/versioning.ts", "deprecated": false, "trackAdoption": false, @@ -15883,9 +15404,7 @@ "type": "Type", "tags": [], "label": "AuthenticationHandler", - "description": [ - "\nSee {@link AuthToolkit}." - ], + "description": ["\nSee {@link AuthToolkit}."], "signature": [ "(request: ", { @@ -16029,9 +15548,7 @@ "tags": [], "label": "AuthHeaders", "description": [], - "signature": [ - "{ [x: string]: string | string[]; }" - ], + "signature": ["{ [x: string]: string | string[]; }"], "path": "packages/core/http/core-http-server/src/lifecycle/auth.ts", "deprecated": false, "trackAdoption": false, @@ -16080,12 +15597,8 @@ "type": "Type", "tags": [], "label": "DestructiveRouteMethod", - "description": [ - "\nSet of HTTP methods changing the state of the server." - ], - "signature": [ - "\"delete\" | \"post\" | \"put\" | \"patch\"" - ], + "description": ["\nSet of HTTP methods changing the state of the server."], + "signature": ["\"delete\" | \"post\" | \"put\" | \"patch\""], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, @@ -16095,13 +15608,9 @@ "parentPluginId": "@kbn/core-http-server", "id": "def-common.GetAuthHeaders", "type": "Type", - "tags": [ - "return" - ], + "tags": ["return"], "label": "GetAuthHeaders", - "description": [ - "\nGet headers to authenticate a user against Elasticsearch." - ], + "description": ["\nGet headers to authenticate a user against Elasticsearch."], "signature": [ "(request: ", { @@ -16124,9 +15633,7 @@ "path": "packages/core/http/core-http-server/src/auth_headers.ts", "deprecated": false, "trackAdoption": false, - "returnComment": [ - "authentication headers {@link AuthHeaders } for - an incoming request." - ], + "returnComment": ["authentication headers {@link AuthHeaders } for - an incoming request."], "children": [ { "parentPluginId": "@kbn/core-http-server", @@ -16134,9 +15641,7 @@ "type": "Object", "tags": [], "label": "request", - "description": [ - "{@link KibanaRequest } - an incoming request." - ], + "description": ["{@link KibanaRequest } - an incoming request."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -16193,9 +15698,7 @@ "type": "Object", "tags": [], "label": "request", - "description": [ - "{@link KibanaRequest } - an incoming request." - ], + "description": ["{@link KibanaRequest } - an incoming request."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -16247,9 +15750,7 @@ "description": [ "\nA function that accepts a context object and an optional number of additional arguments. Used for the generic types\nin {@link IContextContainer}\n" ], - "signature": [ - "(context: T, ...args: any[]) => any" - ], + "signature": ["(context: T, ...args: any[]) => any"], "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false, @@ -16262,9 +15763,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "T" - ], + "signature": ["T"], "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false @@ -16276,9 +15775,7 @@ "tags": [], "label": "args", "description": [], - "signature": [ - "any[]" - ], + "signature": ["any[]"], "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false @@ -16295,9 +15792,7 @@ "description": [ "\nExtracts the types of the additional arguments of a {@link HandlerFunction}, excluding the\n{@link HandlerContextType}.\n" ], - "signature": [ - "T extends (context: any, ...args: infer U) => any ? U : never" - ], + "signature": ["T extends (context: any, ...args: infer U) => any ? U : never"], "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false, @@ -16309,9 +15804,7 @@ "type": "Type", "tags": [], "label": "Headers", - "description": [ - "\nHttp request headers to read." - ], + "description": ["\nHttp request headers to read."], "signature": [ "{ date?: string | string[] | undefined; warning?: string | string[] | undefined; location?: string | string[] | undefined; range?: string | string[] | undefined; from?: string | string[] | undefined; etag?: string | string[] | undefined; accept?: string | string[] | undefined; \"accept-language\"?: string | string[] | undefined; \"accept-patch\"?: string | string[] | undefined; \"accept-ranges\"?: string | string[] | undefined; \"access-control-allow-credentials\"?: string | string[] | undefined; \"access-control-allow-headers\"?: string | string[] | undefined; \"access-control-allow-methods\"?: string | string[] | undefined; \"access-control-allow-origin\"?: string | string[] | undefined; \"access-control-expose-headers\"?: string | string[] | undefined; \"access-control-max-age\"?: string | string[] | undefined; \"access-control-request-headers\"?: string | string[] | undefined; \"access-control-request-method\"?: string | string[] | undefined; age?: string | string[] | undefined; allow?: string | string[] | undefined; \"alt-svc\"?: string | string[] | undefined; authorization?: string | string[] | undefined; \"cache-control\"?: string | string[] | undefined; connection?: string | string[] | undefined; \"content-disposition\"?: string | string[] | undefined; \"content-encoding\"?: string | string[] | undefined; \"content-language\"?: string | string[] | undefined; \"content-length\"?: string | string[] | undefined; \"content-location\"?: string | string[] | undefined; \"content-range\"?: string | string[] | undefined; \"content-type\"?: string | string[] | undefined; cookie?: string | string[] | undefined; expect?: string | string[] | undefined; expires?: string | string[] | undefined; forwarded?: string | string[] | undefined; host?: string | string[] | undefined; \"if-match\"?: string | string[] | undefined; \"if-modified-since\"?: string | string[] | undefined; \"if-none-match\"?: string | string[] | undefined; \"if-unmodified-since\"?: string | string[] | undefined; \"last-modified\"?: string | string[] | undefined; origin?: string | string[] | undefined; pragma?: string | string[] | undefined; \"proxy-authenticate\"?: string | string[] | undefined; \"proxy-authorization\"?: string | string[] | undefined; \"public-key-pins\"?: string | string[] | undefined; referer?: string | string[] | undefined; \"retry-after\"?: string | string[] | undefined; \"sec-websocket-accept\"?: string | string[] | undefined; \"sec-websocket-extensions\"?: string | string[] | undefined; \"sec-websocket-key\"?: string | string[] | undefined; \"sec-websocket-protocol\"?: string | string[] | undefined; \"sec-websocket-version\"?: string | string[] | undefined; \"set-cookie\"?: string | string[] | undefined; \"strict-transport-security\"?: string | string[] | undefined; tk?: string | string[] | undefined; trailer?: string | string[] | undefined; \"transfer-encoding\"?: string | string[] | undefined; upgrade?: string | string[] | undefined; \"user-agent\"?: string | string[] | undefined; vary?: string | string[] | undefined; via?: string | string[] | undefined; \"www-authenticate\"?: string | string[] | undefined; } & { [header: string]: string | string[] | undefined; }" ], @@ -16326,14 +15819,8 @@ "type": "Type", "tags": [], "label": "HttpResponsePayload", - "description": [ - "\nData send to the client as a response payload." - ], - "signature": [ - "string | Record | Buffer | ", - "Stream", - " | undefined" - ], + "description": ["\nData send to the client as a response payload."], + "signature": ["string | Record | Buffer | ", "Stream", " | undefined"], "path": "packages/core/http/core-http-server/src/router/response.ts", "deprecated": false, "trackAdoption": false, @@ -16391,9 +15878,7 @@ "description": [ "- A partial context object containing only the keys for values provided by plugin dependencies" ], - "signature": [ - "{ [P in Exclude]: Context[P]; }" - ], + "signature": ["{ [P in Exclude]: Context[P]; }"], "path": "packages/core/http/core-http-server/src/router/context_provider.ts", "deprecated": false, "trackAdoption": false @@ -16439,9 +15924,7 @@ "type": "Type", "tags": [], "label": "IsAuthenticated", - "description": [ - "\nReturns authentication status for a request." - ], + "description": ["\nReturns authentication status for a request."], "signature": [ "(request: ", { @@ -16464,9 +15947,7 @@ "type": "Object", "tags": [], "label": "request", - "description": [ - "{@link KibanaRequest } - an incoming request." - ], + "description": ["{@link KibanaRequest } - an incoming request."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -16623,9 +16104,7 @@ "type": "Type", "tags": [], "label": "KnownHeaders", - "description": [ - "\nSet of well-known HTTP headers." - ], + "description": ["\nSet of well-known HTTP headers."], "signature": [ "\"date\" | \"warning\" | \"location\" | \"range\" | \"from\" | \"etag\" | \"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"allow\" | \"alt-svc\" | \"authorization\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"expect\" | \"expires\" | \"forwarded\" | \"host\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"www-authenticate\"" ], @@ -16640,9 +16119,7 @@ "type": "Type", "tags": [], "label": "KnownKeys", - "description": [ - "\nCreates a Union type of all known keys of a given interface." - ], + "description": ["\nCreates a Union type of all known keys of a given interface."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -16695,9 +16172,7 @@ "type": "Type", "tags": [], "label": "OnPostAuthHandler", - "description": [ - "\nSee {@link OnPostAuthToolkit}." - ], + "description": ["\nSee {@link OnPostAuthToolkit}."], "signature": [ "(request: ", { @@ -16873,9 +16348,7 @@ "type": "Type", "tags": [], "label": "OnPreAuthHandler", - "description": [ - "\nSee {@link OnPreAuthToolkit}." - ], + "description": ["\nSee {@link OnPreAuthToolkit}."], "signature": [ "(request: ", { @@ -17051,9 +16524,7 @@ "type": "Type", "tags": [], "label": "OnPreResponseHandler", - "description": [ - "\nSee {@link OnPreResponseToolkit}." - ], + "description": ["\nSee {@link OnPreResponseToolkit}."], "signature": [ "(request: ", { @@ -17201,9 +16672,7 @@ "type": "Type", "tags": [], "label": "OnPreRoutingHandler", - "description": [ - "\nSee {@link OnPreRoutingToolkit}." - ], + "description": ["\nSee {@link OnPreRoutingToolkit}."], "signature": [ "(request: ", { @@ -17398,9 +16867,7 @@ "type": "Type", "tags": [], "label": "RedirectResponseOptions", - "description": [ - "\nHTTP response parameters for redirection response" - ], + "description": ["\nHTTP response parameters for redirection response"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -17474,9 +16941,7 @@ "description": [ "{@link RequestHandlerContext } - the core context exposed for this request." ], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -17513,9 +16978,7 @@ "description": [ "{@link KibanaResponseFactory } - a set of helper functions used to respond to a request." ], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -17529,9 +16992,7 @@ "type": "Type", "tags": [], "label": "RequestHandlerWrapper", - "description": [ - "\nType-safe wrapper for {@link RequestHandler} function." - ], + "description": ["\nType-safe wrapper for {@link RequestHandler} function."], "signature": [ " | Record<\"date\" | \"warning\" | \"location\" | \"range\" | \"from\" | \"etag\" | \"accept\" | \"accept-language\" | \"accept-patch\" | \"accept-ranges\" | \"access-control-allow-credentials\" | \"access-control-allow-headers\" | \"access-control-allow-methods\" | \"access-control-allow-origin\" | \"access-control-expose-headers\" | \"access-control-max-age\" | \"access-control-request-headers\" | \"access-control-request-method\" | \"age\" | \"allow\" | \"alt-svc\" | \"authorization\" | \"cache-control\" | \"connection\" | \"content-disposition\" | \"content-encoding\" | \"content-language\" | \"content-length\" | \"content-location\" | \"content-range\" | \"content-type\" | \"cookie\" | \"expect\" | \"expires\" | \"forwarded\" | \"host\" | \"if-match\" | \"if-modified-since\" | \"if-none-match\" | \"if-unmodified-since\" | \"last-modified\" | \"origin\" | \"pragma\" | \"proxy-authenticate\" | \"proxy-authorization\" | \"public-key-pins\" | \"referer\" | \"retry-after\" | \"sec-websocket-accept\" | \"sec-websocket-extensions\" | \"sec-websocket-key\" | \"sec-websocket-protocol\" | \"sec-websocket-version\" | \"set-cookie\" | \"strict-transport-security\" | \"tk\" | \"trailer\" | \"transfer-encoding\" | \"upgrade\" | \"user-agent\" | \"vary\" | \"via\" | \"www-authenticate\", string | string[]>" ], @@ -17754,9 +17203,7 @@ "type": "Type", "tags": [], "label": "RouteContentType", - "description": [ - "\nThe set of supported parseable Content-Types" - ], + "description": ["\nThe set of supported parseable Content-Types"], "signature": [ "\"application/json\" | \"multipart/form-data\" | \"application/*+json\" | \"application/octet-stream\" | \"application/x-www-form-urlencoded\" | \"text/*\"" ], @@ -17771,9 +17218,7 @@ "type": "Type", "tags": [], "label": "RouteMethod", - "description": [ - "\nThe set of common HTTP methods supported by Kibana routing." - ], + "description": ["\nThe set of common HTTP methods supported by Kibana routing."], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -17802,9 +17247,7 @@ "type": "Type", "tags": [], "label": "RouteRegistrar", - "description": [ - "\nRoute handler common definition\n" - ], + "description": ["\nRoute handler common definition\n"], "signature": [ "(route: ", { @@ -17912,9 +17355,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "Context" - ], + "signature": ["Context"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -17947,9 +17388,7 @@ "tags": [], "label": "response", "description": [], - "signature": [ - "ResponseFactory" - ], + "signature": ["ResponseFactory"], "path": "packages/core/http/core-http-server/src/router/request_handler.ts", "deprecated": false, "trackAdoption": false @@ -17999,9 +17438,7 @@ "tags": [], "label": "data", "description": [], - "signature": [ - "any" - ], + "signature": ["any"], "path": "packages/core/http/core-http-server/src/router/route_validator.ts", "deprecated": false, "trackAdoption": false @@ -18075,9 +17512,7 @@ "type": "Type", "tags": [], "label": "RouteValidatorFullConfig", - "description": [ - "\nRoute validations config and options merged into one object" - ], + "description": ["\nRoute validations config and options merged into one object"], "signature": [ { "pluginId": "@kbn/core-http-server", @@ -18106,12 +17541,8 @@ "type": "Type", "tags": [], "label": "SafeRouteMethod", - "description": [ - "\nSet of HTTP methods not changing the state of the server." - ], - "signature": [ - "\"get\" | \"options\"" - ], + "description": ["\nSet of HTTP methods not changing the state of the server."], + "signature": ["\"get\" | \"options\""], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, @@ -18176,9 +17607,7 @@ "tags": [], "label": "headers", "description": [], - "signature": [ - "{ [x: string]: string | string[]; }" - ], + "signature": ["{ [x: string]: string | string[]; }"], "path": "packages/core/http/core-http-server/src/auth_headers.ts", "deprecated": false, "trackAdoption": false @@ -18209,9 +17638,7 @@ "type": "Type", "tags": [], "label": "VersionedRouteConfig", - "description": [ - "\nConfiguration for a versioned route" - ], + "description": ["\nConfiguration for a versioned route"], "signature": [ "Omit<", { @@ -18242,9 +17669,7 @@ "type": "Type", "tags": [], "label": "VersionedRouteRegistrar", - "description": [ - "\nCreate an {@link VersionedRoute | versioned route}.\n" - ], + "description": ["\nCreate an {@link VersionedRoute | versioned route}.\n"], "signature": [ "(config: ", { @@ -18267,9 +17692,7 @@ "path": "packages/core/http/core-http-server/src/versioning/types.ts", "deprecated": false, "trackAdoption": false, - "returnComment": [ - "A versioned route" - ], + "returnComment": ["A versioned route"], "children": [ { "parentPluginId": "@kbn/core-http-server", @@ -18277,9 +17700,7 @@ "type": "CompoundType", "tags": [], "label": "config", - "description": [ - "- The route configuration" - ], + "description": ["- The route configuration"], "signature": [ "Omit<", { @@ -18343,12 +17764,8 @@ "type": "Object", "tags": [], "label": "validBodyOutput", - "description": [ - "\nThe set of valid body.output" - ], - "signature": [ - "readonly [\"data\", \"stream\"]" - ], + "description": ["\nThe set of valid body.output"], + "signature": ["readonly [\"data\", \"stream\"]"], "path": "packages/core/http/core-http-server/src/router/route.ts", "deprecated": false, "trackAdoption": false, @@ -18356,4 +17773,4 @@ } ] } -} \ No newline at end of file +} diff --git a/api_docs/kibana_react.devdocs.json b/api_docs/kibana_react.devdocs.json index fde951a39f9691..22401a67f69d43 100644 --- a/api_docs/kibana_react.devdocs.json +++ b/api_docs/kibana_react.devdocs.json @@ -41,9 +41,7 @@ "tags": [], "label": "allowEmptyRange", "description": [], - "signature": [ - "true" - ], + "signature": ["true"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false @@ -55,9 +53,7 @@ "tags": [], "label": "fullWidth", "description": [], - "signature": [ - "false" - ], + "signature": ["false"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false @@ -69,9 +65,7 @@ "tags": [], "label": "compressed", "description": [], - "signature": [ - "false" - ], + "signature": ["false"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false @@ -99,9 +93,7 @@ "tags": [], "label": "nextProps", "description": [], - "signature": [ - "Props" - ], + "signature": ["Props"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -114,9 +106,7 @@ "tags": [], "label": "prevState", "description": [], - "signature": [ - "State" - ], + "signature": ["State"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -144,9 +134,7 @@ "tags": [], "label": "_onChange", "description": [], - "signature": [ - "(value: [string | number, string | number]) => void" - ], + "signature": ["(value: [string | number, string | number]) => void"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -158,9 +146,7 @@ "tags": [], "label": "value", "description": [], - "signature": [ - "[string | number, string | number]" - ], + "signature": ["[string | number, string | number]"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -176,9 +162,7 @@ "tags": [], "label": "render", "description": [], - "signature": [ - "() => JSX.Element" - ], + "signature": ["() => JSX.Element"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -227,9 +211,7 @@ "tags": [], "label": "services", "description": [], - "signature": [ - "Services" - ], + "signature": ["Services"], "path": "src/plugins/kibana_react/public/context/context.tsx", "deprecated": false, "trackAdoption": false, @@ -357,9 +339,7 @@ "type": "Function", "tags": [], "label": "ElasticAgentCard", - "description": [ - "\nApplies extra styling to a typical EuiAvatar" - ], + "description": ["\nApplies extra styling to a typical EuiAvatar"], "signature": [ "({ solution, recommended, title, href, button, layout, category, ...cardRest }: React.PropsWithChildren<", { @@ -409,9 +389,7 @@ "tags": [], "label": "KibanaContextProvider", "description": [], - "signature": [ - "React.FunctionComponent<{ services?: {} | undefined; }>" - ], + "signature": ["React.FunctionComponent<{ services?: {} | undefined; }>"], "path": "src/plugins/kibana_react/public/context/context.tsx", "deprecated": false, "trackAdoption": false, @@ -424,9 +402,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "P & { children?: React.ReactNode; }" - ], + "signature": ["P & { children?: React.ReactNode; }"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -438,9 +414,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "any" - ], + "signature": ["any"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -454,9 +428,7 @@ "type": "Function", "tags": [], "label": "KibanaPageTemplateSolutionNavAvatar", - "description": [ - "\nApplies extra styling to a typical EuiAvatar" - ], + "description": ["\nApplies extra styling to a typical EuiAvatar"], "signature": [ "({ className, size, ...rest }: React.PropsWithChildren<", "KibanaPageTemplateSolutionNavAvatarProps", @@ -491,9 +463,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.KibanaThemeProvider", "type": "Function", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "KibanaThemeProvider", "description": [], "signature": [ @@ -1341,15 +1311,15 @@ }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/public/app.tsx" + "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/public/app.tsx" + "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/public/app.tsx" + "path": "x-pack/plugins/observability_solution/profiling/public/app.tsx" }, { "plugin": "apm", @@ -1953,11 +1923,7 @@ "tags": [], "label": "Markdown", "description": [], - "signature": [ - "(props: ", - "MarkdownProps", - ") => JSX.Element" - ], + "signature": ["(props: ", "MarkdownProps", ") => JSX.Element"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -1969,9 +1935,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "MarkdownProps" - ], + "signature": ["MarkdownProps"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -1988,11 +1952,7 @@ "tags": [], "label": "MarkdownSimple", "description": [], - "signature": [ - "(props: ", - "MarkdownSimpleProps", - ") => JSX.Element" - ], + "signature": ["(props: ", "MarkdownSimpleProps", ") => JSX.Element"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -2004,9 +1964,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "MarkdownSimpleProps" - ], + "signature": ["MarkdownSimpleProps"], "path": "src/plugins/kibana_react/public/markdown/index.tsx", "deprecated": false, "trackAdoption": false, @@ -2135,9 +2093,7 @@ "tags": [], "label": "{\n addDataHref,\n application,\n devToolsHref,\n hidden,\n managementHref,\n showDevToolsLink,\n showManagementLink,\n}", "description": [], - "signature": [ - "Props" - ], + "signature": ["Props"], "path": "src/plugins/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx", "deprecated": false, "trackAdoption": false, @@ -2168,9 +2124,7 @@ "tags": [], "label": "{\n addBasePath,\n path,\n onSetDefaultRoute,\n onChangeDefaultRoute,\n}", "description": [], - "signature": [ - "React.PropsWithChildren" - ], + "signature": ["React.PropsWithChildren"], "path": "src/plugins/kibana_react/public/overview_page/overview_page_footer/overview_page_footer.tsx", "deprecated": false, "trackAdoption": false, @@ -2235,9 +2189,7 @@ "tags": [], "label": "to", "description": [], - "signature": [ - "string | LocationObject" - ], + "signature": ["string | LocationObject"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2250,9 +2202,7 @@ "tags": [], "label": "onClickCallback", "description": [], - "signature": [ - "Function | undefined" - ], + "signature": ["Function | undefined"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2317,9 +2267,7 @@ "tags": [], "label": "to", "description": [], - "signature": [ - "string | LocationObject" - ], + "signature": ["string | LocationObject"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2332,9 +2280,7 @@ "tags": [], "label": "onClickCallback", "description": [], - "signature": [ - "Function | undefined" - ], + "signature": ["Function | undefined"], "path": "src/plugins/kibana_react/public/react_router_navigate/react_router_navigate.tsx", "deprecated": false, "trackAdoption": false, @@ -2348,9 +2294,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.toMountPoint", "type": "Function", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "toMountPoint", "description": [], "signature": [ @@ -3297,9 +3241,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/util/index.tsx", "deprecated": false, "trackAdoption": false, @@ -3386,9 +3328,7 @@ "tags": [], "label": "useDarkMode", "description": [], - "signature": [ - "(defaultValue?: boolean | undefined) => boolean" - ], + "signature": ["(defaultValue?: boolean | undefined) => boolean"], "path": "src/plugins/kibana_react/public/dark_mode/use_dark_mode.ts", "deprecated": false, "trackAdoption": false, @@ -3400,9 +3340,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "boolean | undefined" - ], + "signature": ["boolean | undefined"], "path": "src/plugins/kibana_react/public/dark_mode/use_dark_mode.ts", "deprecated": false, "trackAdoption": false, @@ -3418,9 +3356,7 @@ "type": "Function", "tags": [], "label": "useExecutionContext", - "description": [ - "\nSet and clean up application level execution context" - ], + "description": ["\nSet and clean up application level execution context"], "signature": [ "(executionContext: ", { @@ -3500,9 +3436,7 @@ "description": [ "\nReturns the current global UI-settings value.\n\nUsage:\n\n```js\nconst customBranding = useGlobalUiSetting('customBranding:pageTitle');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => T" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => T"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3514,9 +3448,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3529,9 +3461,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3550,9 +3480,7 @@ "description": [ "\nReturns a 2-tuple, where first entry is the setting value and second is a\nfunction to update the setting value.\n\nSynchronously returns the most current value of the setting and subscribes\nto all subsequent updates, which will re-render your component on new values.\n\nUsage:\n\n```js\nconst [customBranding, setCustomBranding] = useGlobalUiSetting$('customBranding:pageTitle');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => [T, Setter]" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => [T, Setter]"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3564,9 +3492,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3579,9 +3505,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3633,9 +3557,7 @@ "description": [ "\nReturns the current UI-settings value.\n\nUsage:\n\n```js\nconst darkMode = useUiSetting('theme:darkMode');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => T" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => T"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3647,9 +3569,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3662,9 +3582,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3683,9 +3601,7 @@ "description": [ "\nReturns a 2-tuple, where first entry is the setting value and second is a\nfunction to update the setting value.\n\nSynchronously returns the most current value of the setting and subscribes\nto all subsequent updates, which will re-render your component on new values.\n\nUsage:\n\n```js\nconst [darkMode, setDarkMode] = useUiSetting$('theme:darkMode');\n```" ], - "signature": [ - "(key: string, defaultValue?: T | undefined) => [T, Setter]" - ], + "signature": ["(key: string, defaultValue?: T | undefined) => [T, Setter]"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3697,9 +3613,7 @@ "tags": [], "label": "key", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3712,9 +3626,7 @@ "tags": [], "label": "defaultValue", "description": [], - "signature": [ - "T | undefined" - ], + "signature": ["T | undefined"], "path": "src/plugins/kibana_react/public/ui_settings/use_ui_setting.ts", "deprecated": false, "trackAdoption": false, @@ -3753,9 +3665,7 @@ "tags": [], "label": "type", "description": [], - "signature": [ - "React.ComponentType" - ], + "signature": ["React.ComponentType"], "path": "src/plugins/kibana_react/public/context/context.tsx", "deprecated": false, "trackAdoption": false, @@ -3796,9 +3706,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/theme.tsx", "deprecated": false, "trackAdoption": false, @@ -3883,9 +3791,7 @@ "tags": [], "label": "Provider", "description": [], - "signature": [ - "React.FunctionComponent<{ services?: T | undefined; }>" - ], + "signature": ["React.FunctionComponent<{ services?: T | undefined; }>"], "path": "src/plugins/kibana_react/public/context/types.ts", "deprecated": false, "trackAdoption": false, @@ -3898,9 +3804,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "P & { children?: React.ReactNode; }" - ], + "signature": ["P & { children?: React.ReactNode; }"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -3912,9 +3816,7 @@ "tags": [], "label": "context", "description": [], - "signature": [ - "any" - ], + "signature": ["any"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -3951,9 +3853,7 @@ "tags": [], "label": "props", "description": [], - "signature": [ - "P" - ], + "signature": ["P"], "path": "node_modules/@types/react/index.d.ts", "deprecated": false, "trackAdoption": false @@ -3991,9 +3891,7 @@ "tags": [], "label": "services", "description": [], - "signature": [ - "Services" - ], + "signature": ["Services"], "path": "src/plugins/kibana_react/public/context/types.ts", "deprecated": false, "trackAdoption": false @@ -4148,9 +4046,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, "trackAdoption": false, @@ -4217,9 +4113,7 @@ "tags": [], "label": "node", "description": [], - "signature": [ - "React.ReactNode" - ], + "signature": ["React.ReactNode"], "path": "src/plugins/kibana_react/public/overlays/types.ts", "deprecated": false, "trackAdoption": false, @@ -4294,12 +4188,8 @@ "type": "string", "tags": [], "label": "logo", - "description": [ - "\nOptionally replace the auto-generated logo" - ], - "signature": [ - "string | undefined" - ], + "description": ["\nOptionally replace the auto-generated logo"], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx", "deprecated": false, "trackAdoption": false @@ -4310,9 +4200,7 @@ "type": "string", "tags": [], "label": "docsLink", - "description": [ - "\nRequired to set the docs link for the whole solution" - ], + "description": ["\nRequired to set the docs link for the whole solution"], "path": "src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx", "deprecated": false, "trackAdoption": false @@ -4323,12 +4211,8 @@ "type": "string", "tags": [], "label": "pageTitle", - "description": [ - "\nOptionally replace the auto-generated page title (h1)" - ], - "signature": [ - "string | undefined" - ], + "description": ["\nOptionally replace the auto-generated page title (h1)"], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/page_template/no_data_page/no_data_page.tsx", "deprecated": false, "trackAdoption": false @@ -4406,9 +4290,7 @@ "tags": [], "label": "color", "description": [], - "signature": [ - "\"warning\" | \"success\" | \"primary\" | \"danger\" | undefined" - ], + "signature": ["\"warning\" | \"success\" | \"primary\" | \"danger\" | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4420,10 +4302,7 @@ "tags": [], "label": "iconType", "description": [], - "signature": [ - "IconType", - " | undefined" - ], + "signature": ["IconType", " | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4435,9 +4314,7 @@ "tags": [], "label": "toastLifeTimeMs", "description": [], - "signature": [ - "number | undefined" - ], + "signature": ["number | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4449,9 +4326,7 @@ "tags": [], "label": "onClose", "description": [], - "signature": [ - "(() => void) | undefined" - ], + "signature": ["(() => void) | undefined"], "path": "src/plugins/kibana_react/public/notifications/types.ts", "deprecated": false, "trackAdoption": false @@ -4463,9 +4338,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.ToMountPointOptions", "type": "Interface", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "ToMountPointOptions", "description": [], "path": "src/plugins/kibana_react/public/util/index.tsx", @@ -4549,9 +4422,7 @@ "tags": [], "label": "height", "description": [], - "signature": [ - "string | number | undefined" - ], + "signature": ["string | number | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4614,11 +4485,7 @@ "tags": [], "label": "onEditor", "description": [], - "signature": [ - "((editor: ", - "editor", - ".IStandaloneCodeEditor) => void) | undefined" - ], + "signature": ["((editor: ", "editor", ".IStandaloneCodeEditor) => void) | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false, @@ -4630,10 +4497,7 @@ "tags": [], "label": "editor", "description": [], - "signature": [ - "editor", - ".IStandaloneCodeEditor" - ], + "signature": ["editor", ".IStandaloneCodeEditor"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false, @@ -4649,9 +4513,7 @@ "tags": [], "label": "placeholder", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4710,9 +4572,7 @@ "tags": [], "label": "title", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4724,9 +4584,7 @@ "tags": [], "label": "documentation", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4738,10 +4596,7 @@ "tags": [], "label": "kind", "description": [], - "signature": [ - "languages", - ".CompletionItemKind | undefined" - ], + "signature": ["languages", ".CompletionItemKind | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4753,9 +4608,7 @@ "tags": [], "label": "sortText", "description": [], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "src/plugins/kibana_react/public/url_template_editor/url_template_editor.tsx", "deprecated": false, "trackAdoption": false @@ -4943,9 +4796,7 @@ "parentPluginId": "kibanaReact", "id": "def-public.KibanaThemeProviderProps", "type": "Type", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "KibanaThemeProviderProps", "description": [], "signature": [ @@ -5031,9 +4882,7 @@ "tags": [], "label": "Value", "description": [], - "signature": [ - "[string | number, string | number]" - ], + "signature": ["[string | number, string | number]"], "path": "src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx", "deprecated": false, "trackAdoption": false, @@ -5091,9 +4940,7 @@ "type": "Function", "tags": [], "label": "createGlobalStyle", - "description": [ - "/** see https://styled-components.com/docs/api#createglobalstyle */" - ], + "description": ["/** see https://styled-components.com/docs/api#createglobalstyle */"], "signature": [ "

(first: TemplateStringsArray | ", "CSSObject", @@ -5165,12 +5012,7 @@ "tags": [], "label": "interpolations", "description": [], - "signature": [ - "Interpolation", - "<", - "ThemedStyledProps", - ">[]" - ], + "signature": ["Interpolation", "<", "ThemedStyledProps", ">[]"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5184,9 +5026,7 @@ "type": "Function", "tags": [], "label": "css", - "description": [ - "/** see https://styled-components.com/docs/api#css-prop */" - ], + "description": ["/** see https://styled-components.com/docs/api#css-prop */"], "signature": [ "BaseThemedCssFunction", "<", @@ -5210,9 +5050,7 @@ "type": "Function", "tags": [], "label": "euiStyled", - "description": [ - "/** see https://styled-components.com/docs/api#styled */" - ], + "description": ["/** see https://styled-components.com/docs/api#styled */"], "signature": [ "ThemedBaseStyledInterface", "<", @@ -5236,9 +5074,7 @@ "type": "Function", "tags": [], "label": "keyframes", - "description": [ - "/** see https://styled-components.com/docs/api#keyframes */" - ], + "description": ["/** see https://styled-components.com/docs/api#keyframes */"], "signature": [ "(strings: TemplateStringsArray | ", "CSSKeyframes", @@ -5259,10 +5095,7 @@ "tags": [], "label": "strings", "description": [], - "signature": [ - "TemplateStringsArray | ", - "CSSKeyframes" - ], + "signature": ["TemplateStringsArray | ", "CSSKeyframes"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5274,10 +5107,7 @@ "tags": [], "label": "interpolations", "description": [], - "signature": [ - "SimpleInterpolation", - "[]" - ], + "signature": ["SimpleInterpolation", "[]"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5291,9 +5121,7 @@ "type": "Function", "tags": [], "label": "KibanaStyledComponentsThemeProvider", - "description": [ - "\nA `styled-components` `ThemeProvider` that incorporates EUI dark mode." - ], + "description": ["\nA `styled-components` `ThemeProvider` that incorporates EUI dark mode."], "signature": [ ">(component: React.ComponentProps extends { theme?: ", { @@ -5464,9 +5288,7 @@ "tags": [], "label": "component", "description": [], - "signature": [ - "React.ComponentProps extends { theme?: T | undefined; } ? C : never" - ], + "signature": ["React.ComponentProps extends { theme?: T | undefined; } ? C : never"], "path": "node_modules/@types/styled-components/ts3.7/index.d.ts", "deprecated": false, "trackAdoption": false @@ -5495,9 +5317,7 @@ "type": "Object", "tags": [], "label": "eui", - "description": [ - "EUI theme vars that automaticall adjust to light and dark mode." - ], + "description": ["EUI theme vars that automaticall adjust to light and dark mode."], "signature": [ "{ euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiZDataGridCellPopover: number; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; success: string; warning: string; danger: string; ghost: string; text: string; }; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: string; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSuccessText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiLinkColor: string; euiColorChartLines: string; euiColorChartBand: string; }" ], @@ -5511,9 +5331,7 @@ "type": "boolean", "tags": [], "label": "darkMode", - "description": [ - "True if the theme is in \"dark\" mode, false otherwise." - ], + "description": ["True if the theme is in \"dark\" mode, false otherwise."], "path": "packages/react/kibana_context/styled/styled_provider.tsx", "deprecated": false, "trackAdoption": false @@ -5526,4 +5344,4 @@ "misc": [], "objects": [] } -} \ No newline at end of file +} diff --git a/api_docs/licensing.devdocs.json b/api_docs/licensing.devdocs.json index 5a54a44d81030a..5489f82292dde8 100644 --- a/api_docs/licensing.devdocs.json +++ b/api_docs/licensing.devdocs.json @@ -21,12 +21,8 @@ "type": "string", "tags": [], "label": "uid", - "description": [ - "\nUID for license." - ], - "signature": [ - "string | undefined" - ], + "description": ["\nUID for license."], + "signature": ["string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -37,13 +33,8 @@ "type": "CompoundType", "tags": [], "label": "status", - "description": [ - "\nThe validity status of the license." - ], - "signature": [ - "LicenseStatus", - " | undefined" - ], + "description": ["\nThe validity status of the license."], + "signature": ["LicenseStatus", " | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -54,9 +45,7 @@ "type": "boolean", "tags": [], "label": "isActive", - "description": [ - "\nDetermine if the status of the license is active." - ], + "description": ["\nDetermine if the status of the license is active."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -67,12 +56,8 @@ "type": "number", "tags": [], "label": "expiryDateInMillis", - "description": [ - "\nUnix epoch of the expiration date of the license." - ], - "signature": [ - "number | undefined" - ], + "description": ["\nUnix epoch of the expiration date of the license."], + "signature": ["number | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -97,9 +82,7 @@ "parentPluginId": "licensing", "id": "def-public.ILicense.mode", "type": "CompoundType", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "mode", "description": [ "\nThe license type, being usually one of basic, standard, gold, platinum, or trial." @@ -119,9 +102,7 @@ "type": "string", "tags": [], "label": "signature", - "description": [ - "\nSignature of the license content." - ], + "description": ["\nSignature of the license content."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -132,9 +113,7 @@ "type": "boolean", "tags": [], "label": "isAvailable", - "description": [ - "\nDetermine if the license container has information." - ], + "description": ["\nDetermine if the license container has information."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -145,13 +124,8 @@ "type": "Function", "tags": [], "label": "toJSON", - "description": [ - "\nReturns" - ], - "signature": [ - "() => ", - "PublicLicenseJSON" - ], + "description": ["\nReturns"], + "signature": ["() => ", "PublicLicenseJSON"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -167,9 +141,7 @@ "description": [ "\nA potential error denoting the failure of the license from being retrieved." ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -183,9 +155,7 @@ "description": [ "\nIf the license is not available, provides a string or Error containing the reason." ], - "signature": [ - "() => string | undefined" - ], + "signature": ["() => string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -198,9 +168,7 @@ "type": "Function", "tags": [], "label": "hasAtLeast", - "description": [ - "\nDetermine if license type >= minimal required license type." - ], + "description": ["\nDetermine if license type >= minimal required license type."], "signature": [ "(minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => boolean" ], @@ -214,9 +182,7 @@ "type": "CompoundType", "tags": [], "label": "minimumLicenseRequired", - "description": [ - "the minimum valid license required for the given feature" - ], + "description": ["the minimum valid license required for the given feature"], "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], @@ -251,12 +217,8 @@ "type": "string", "tags": [], "label": "pluginName", - "description": [ - "the name of the plugin" - ], - "signature": [ - "string" - ], + "description": ["the name of the plugin"], + "signature": ["string"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -268,9 +230,7 @@ "type": "CompoundType", "tags": [], "label": "minimumLicenseRequired", - "description": [ - "the minimum valid license for operating the given plugin" - ], + "description": ["the minimum valid license for operating the given plugin"], "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], @@ -291,10 +251,7 @@ "description": [ "\nA specific API for interacting with the specific features of the license." ], - "signature": [ - "(name: string) => ", - "LicenseFeature" - ], + "signature": ["(name: string) => ", "LicenseFeature"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -305,12 +262,8 @@ "type": "string", "tags": [], "label": "name", - "description": [ - "the name of the feature to interact with" - ], - "signature": [ - "string" - ], + "description": ["the name of the feature to interact with"], + "signature": ["string"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -342,9 +295,7 @@ "description": [ "\nThe state of checking the results of a license type meeting the license minimum." ], - "signature": [ - "\"valid\" | \"invalid\" | \"unavailable\" | \"expired\"" - ], + "signature": ["\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -358,9 +309,7 @@ "description": [ "\nA message containing the reason for a license type not being valid." ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -423,9 +372,7 @@ "type": "string", "tags": [], "label": "uid", - "description": [ - "\nUID for license." - ], + "description": ["\nUID for license."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -436,12 +383,8 @@ "type": "CompoundType", "tags": [], "label": "status", - "description": [ - "\nThe validity status of the license." - ], - "signature": [ - "\"active\" | \"invalid\" | \"expired\"" - ], + "description": ["\nThe validity status of the license."], + "signature": ["\"active\" | \"invalid\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -452,9 +395,7 @@ "type": "number", "tags": [], "label": "expiryDateInMillis", - "description": [ - "\nUnix epoch of the expiration date of the license." - ], + "description": ["\nUnix epoch of the expiration date of the license."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -479,9 +420,7 @@ "parentPluginId": "licensing", "id": "def-public.PublicLicense.mode", "type": "CompoundType", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "mode", "description": [ "\nThe license type, being usually one of basic, standard, gold, platinum, or trial." @@ -667,10 +606,7 @@ "tags": [], "label": "license", "description": [], - "signature": [ - "PublicLicense", - " | undefined" - ], + "signature": ["PublicLicense", " | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -682,10 +618,7 @@ "tags": [], "label": "features", "description": [], - "signature": [ - "PublicFeatures", - " | undefined" - ], + "signature": ["PublicFeatures", " | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -714,9 +647,7 @@ "tags": [], "label": "LicenseCheckState", "description": [], - "signature": [ - "\"valid\" | \"invalid\" | \"unavailable\" | \"expired\"" - ], + "signature": ["\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -729,9 +660,7 @@ "tags": [], "label": "LicenseStatus", "description": [], - "signature": [ - "\"active\" | \"invalid\" | \"expired\"" - ], + "signature": ["\"active\" | \"invalid\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -761,11 +690,7 @@ "description": [ "\nProvides information about feature availability for the current license." ], - "signature": [ - "{ [x: string]: ", - "LicenseFeature", - "; }" - ], + "signature": ["{ [x: string]: ", "LicenseFeature", "; }"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -788,19 +713,10 @@ "parentPluginId": "licensing", "id": "def-public.LicensingPluginSetup.license$", "type": "Object", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "license$", - "description": [ - "\nSteam of licensing information {@link ILicense}." - ], - "signature": [ - "Observable", - "<", - "ILicense", - ">" - ], + "description": ["\nSteam of licensing information {@link ILicense}."], + "signature": ["Observable", "<", "ILicense", ">"], "path": "x-pack/plugins/licensing/public/types.ts", "deprecated": true, "removeBy": "8.8.0", @@ -828,7 +744,7 @@ }, { "plugin": "profiling", - "path": "x-pack/plugins/profiling/public/components/contexts/license/license_context.tsx" + "path": "x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx" }, { "plugin": "apm", @@ -872,18 +788,10 @@ "parentPluginId": "licensing", "id": "def-public.LicensingPluginSetup.refresh", "type": "Function", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "refresh", - "description": [ - "\nTriggers licensing information re-fetch." - ], - "signature": [ - "() => Promise<", - "ILicense", - ">" - ], + "description": ["\nTriggers licensing information re-fetch."], + "signature": ["() => Promise<", "ILicense", ">"], "path": "x-pack/plugins/licensing/public/types.ts", "deprecated": true, "removeBy": "8.8.0", @@ -898,12 +806,8 @@ "type": "Object", "tags": [], "label": "featureUsage", - "description": [ - "\nAPIs to register licensed feature usage." - ], - "signature": [ - "FeatureUsageServiceSetup" - ], + "description": ["\nAPIs to register licensed feature usage."], + "signature": ["FeatureUsageServiceSetup"], "path": "x-pack/plugins/licensing/public/types.ts", "deprecated": false, "trackAdoption": false @@ -929,15 +833,8 @@ "type": "Object", "tags": [], "label": "license$", - "description": [ - "\nSteam of licensing information {@link ILicense}." - ], - "signature": [ - "Observable", - "<", - "ILicense", - ">" - ], + "description": ["\nSteam of licensing information {@link ILicense}."], + "signature": ["Observable", "<", "ILicense", ">"], "path": "x-pack/plugins/licensing/public/types.ts", "deprecated": false, "trackAdoption": false @@ -948,14 +845,8 @@ "type": "Function", "tags": [], "label": "refresh", - "description": [ - "\nTriggers licensing information re-fetch." - ], - "signature": [ - "() => Promise<", - "ILicense", - ">" - ], + "description": ["\nTriggers licensing information re-fetch."], + "signature": ["() => Promise<", "ILicense", ">"], "path": "x-pack/plugins/licensing/public/types.ts", "deprecated": false, "trackAdoption": false, @@ -968,12 +859,8 @@ "type": "Object", "tags": [], "label": "featureUsage", - "description": [ - "\nAPIs to manage licensed feature usage." - ], - "signature": [ - "FeatureUsageServiceStart" - ], + "description": ["\nAPIs to manage licensed feature usage."], + "signature": ["FeatureUsageServiceStart"], "path": "x-pack/plugins/licensing/public/types.ts", "deprecated": false, "trackAdoption": false @@ -1107,9 +994,7 @@ "tags": [], "label": "status", "description": [], - "signature": [ - "number | undefined" - ], + "signature": ["number | undefined"], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": false, "trackAdoption": false @@ -1151,9 +1036,7 @@ "tags": [], "label": "featureName", "description": [], - "signature": [ - "string" - ], + "signature": ["string"], "path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts", "deprecated": false, "trackAdoption": false, @@ -1197,12 +1080,8 @@ "type": "Function", "tags": [], "label": "notifyUsage", - "description": [ - "\nNotify of a registered feature usage at given time.\n" - ], - "signature": [ - "(featureName: string, usedAt?: number | Date | undefined) => void" - ], + "description": ["\nNotify of a registered feature usage at given time.\n"], + "signature": ["(featureName: string, usedAt?: number | Date | undefined) => void"], "path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts", "deprecated": false, "trackAdoption": false, @@ -1213,12 +1092,8 @@ "type": "string", "tags": [], "label": "featureName", - "description": [ - "- the name of the feature to notify usage of" - ], - "signature": [ - "string" - ], + "description": ["- the name of the feature to notify usage of"], + "signature": ["string"], "path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts", "deprecated": false, "trackAdoption": false, @@ -1233,9 +1108,7 @@ "description": [ "- Either a `Date` or an unix timestamp with ms. If not specified, it will be set to the current time." ], - "signature": [ - "number | Date | undefined" - ], + "signature": ["number | Date | undefined"], "path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts", "deprecated": false, "trackAdoption": false, @@ -1253,11 +1126,7 @@ "description": [ "\nReturn a map containing last usage timestamp for all features.\nFeatures that were not used yet do not appear in the map." ], - "signature": [ - "() => ", - "LastFeatureUsage", - "[]" - ], + "signature": ["() => ", "LastFeatureUsage", "[]"], "path": "x-pack/plugins/licensing/server/services/feature_usage_service.ts", "deprecated": false, "trackAdoption": false, @@ -1284,12 +1153,8 @@ "type": "string", "tags": [], "label": "uid", - "description": [ - "\nUID for license." - ], - "signature": [ - "string | undefined" - ], + "description": ["\nUID for license."], + "signature": ["string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1300,13 +1165,8 @@ "type": "CompoundType", "tags": [], "label": "status", - "description": [ - "\nThe validity status of the license." - ], - "signature": [ - "LicenseStatus", - " | undefined" - ], + "description": ["\nThe validity status of the license."], + "signature": ["LicenseStatus", " | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1317,9 +1177,7 @@ "type": "boolean", "tags": [], "label": "isActive", - "description": [ - "\nDetermine if the status of the license is active." - ], + "description": ["\nDetermine if the status of the license is active."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1330,12 +1188,8 @@ "type": "number", "tags": [], "label": "expiryDateInMillis", - "description": [ - "\nUnix epoch of the expiration date of the license." - ], - "signature": [ - "number | undefined" - ], + "description": ["\nUnix epoch of the expiration date of the license."], + "signature": ["number | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1360,9 +1214,7 @@ "parentPluginId": "licensing", "id": "def-server.ILicense.mode", "type": "CompoundType", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "mode", "description": [ "\nThe license type, being usually one of basic, standard, gold, platinum, or trial." @@ -1382,9 +1234,7 @@ "type": "string", "tags": [], "label": "signature", - "description": [ - "\nSignature of the license content." - ], + "description": ["\nSignature of the license content."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1395,9 +1245,7 @@ "type": "boolean", "tags": [], "label": "isAvailable", - "description": [ - "\nDetermine if the license container has information." - ], + "description": ["\nDetermine if the license container has information."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1408,13 +1256,8 @@ "type": "Function", "tags": [], "label": "toJSON", - "description": [ - "\nReturns" - ], - "signature": [ - "() => ", - "PublicLicenseJSON" - ], + "description": ["\nReturns"], + "signature": ["() => ", "PublicLicenseJSON"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -1430,9 +1273,7 @@ "description": [ "\nA potential error denoting the failure of the license from being retrieved." ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1446,9 +1287,7 @@ "description": [ "\nIf the license is not available, provides a string or Error containing the reason." ], - "signature": [ - "() => string | undefined" - ], + "signature": ["() => string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -1461,9 +1300,7 @@ "type": "Function", "tags": [], "label": "hasAtLeast", - "description": [ - "\nDetermine if license type >= minimal required license type." - ], + "description": ["\nDetermine if license type >= minimal required license type."], "signature": [ "(minimumLicenseRequired: \"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\") => boolean" ], @@ -1477,9 +1314,7 @@ "type": "CompoundType", "tags": [], "label": "minimumLicenseRequired", - "description": [ - "the minimum valid license required for the given feature" - ], + "description": ["the minimum valid license required for the given feature"], "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], @@ -1514,12 +1349,8 @@ "type": "string", "tags": [], "label": "pluginName", - "description": [ - "the name of the plugin" - ], - "signature": [ - "string" - ], + "description": ["the name of the plugin"], + "signature": ["string"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -1531,9 +1362,7 @@ "type": "CompoundType", "tags": [], "label": "minimumLicenseRequired", - "description": [ - "the minimum valid license for operating the given plugin" - ], + "description": ["the minimum valid license for operating the given plugin"], "signature": [ "\"basic\" | \"standard\" | \"gold\" | \"platinum\" | \"enterprise\" | \"trial\"" ], @@ -1554,10 +1383,7 @@ "description": [ "\nA specific API for interacting with the specific features of the license." ], - "signature": [ - "(name: string) => ", - "LicenseFeature" - ], + "signature": ["(name: string) => ", "LicenseFeature"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -1568,12 +1394,8 @@ "type": "string", "tags": [], "label": "name", - "description": [ - "the name of the feature to interact with" - ], - "signature": [ - "string" - ], + "description": ["the name of the feature to interact with"], + "signature": ["string"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -1605,9 +1427,7 @@ "description": [ "\nThe state of checking the results of a license type meeting the license minimum." ], - "signature": [ - "\"valid\" | \"invalid\" | \"unavailable\" | \"expired\"" - ], + "signature": ["\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1621,9 +1441,7 @@ "description": [ "\nA message containing the reason for a license type not being valid." ], - "signature": [ - "string | undefined" - ], + "signature": ["string | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1707,9 +1525,7 @@ "tags": [], "label": "license", "description": [], - "signature": [ - "ILicense" - ], + "signature": ["ILicense"], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": false, "trackAdoption": false @@ -1736,9 +1552,7 @@ "type": "string", "tags": [], "label": "uid", - "description": [ - "\nUID for license." - ], + "description": ["\nUID for license."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1749,12 +1563,8 @@ "type": "CompoundType", "tags": [], "label": "status", - "description": [ - "\nThe validity status of the license." - ], - "signature": [ - "\"active\" | \"invalid\" | \"expired\"" - ], + "description": ["\nThe validity status of the license."], + "signature": ["\"active\" | \"invalid\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1765,9 +1575,7 @@ "type": "number", "tags": [], "label": "expiryDateInMillis", - "description": [ - "\nUnix epoch of the expiration date of the license." - ], + "description": ["\nUnix epoch of the expiration date of the license."], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1792,9 +1600,7 @@ "parentPluginId": "licensing", "id": "def-server.PublicLicense.mode", "type": "CompoundType", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "mode", "description": [ "\nThe license type, being usually one of basic, standard, gold, platinum, or trial." @@ -1980,10 +1786,7 @@ "tags": [], "label": "license", "description": [], - "signature": [ - "PublicLicense", - " | undefined" - ], + "signature": ["PublicLicense", " | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -1995,10 +1798,7 @@ "tags": [], "label": "features", "description": [], - "signature": [ - "PublicFeatures", - " | undefined" - ], + "signature": ["PublicFeatures", " | undefined"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false @@ -2057,9 +1857,7 @@ "tags": [], "label": "license", "description": [], - "signature": [ - "ILicense" - ], + "signature": ["ILicense"], "path": "x-pack/plugins/licensing/server/wrap_route_with_license_check.ts", "deprecated": false, "trackAdoption": false @@ -2074,9 +1872,7 @@ "tags": [], "label": "LicenseCheckState", "description": [], - "signature": [ - "\"valid\" | \"invalid\" | \"unavailable\" | \"expired\"" - ], + "signature": ["\"valid\" | \"invalid\" | \"unavailable\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -2089,9 +1885,7 @@ "tags": [], "label": "LicenseStatus", "description": [], - "signature": [ - "\"active\" | \"invalid\" | \"expired\"" - ], + "signature": ["\"active\" | \"invalid\" | \"expired\""], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -2121,11 +1915,7 @@ "description": [ "\nProvides information about feature availability for the current license." ], - "signature": [ - "{ [x: string]: ", - "LicenseFeature", - "; }" - ], + "signature": ["{ [x: string]: ", "LicenseFeature", "; }"], "path": "x-pack/plugins/licensing/common/types.ts", "deprecated": false, "trackAdoption": false, @@ -2148,19 +1938,10 @@ "parentPluginId": "licensing", "id": "def-server.LicensingPluginSetup.license$", "type": "Object", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "license$", - "description": [ - "\nSteam of licensing information {@link ILicense}." - ], - "signature": [ - "Observable", - "<", - "ILicense", - ">" - ], + "description": ["\nSteam of licensing information {@link ILicense}."], + "signature": ["Observable", "<", "ILicense", ">"], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": true, "removeBy": "8.8.0", @@ -2288,18 +2069,10 @@ "parentPluginId": "licensing", "id": "def-server.LicensingPluginSetup.refresh", "type": "Function", - "tags": [ - "deprecated" - ], + "tags": ["deprecated"], "label": "refresh", - "description": [ - "\nTriggers licensing information re-fetch." - ], - "signature": [ - "() => Promise<", - "ILicense", - ">" - ], + "description": ["\nTriggers licensing information re-fetch."], + "signature": ["() => Promise<", "ILicense", ">"], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": true, "removeBy": "8.8.0", @@ -2319,9 +2092,7 @@ "type": "Object", "tags": [], "label": "featureUsage", - "description": [ - "\nAPIs to register licensed feature usage." - ], + "description": ["\nAPIs to register licensed feature usage."], "signature": [ { "pluginId": "licensing", @@ -2356,15 +2127,8 @@ "type": "Object", "tags": [], "label": "license$", - "description": [ - "\nSteam of licensing information {@link ILicense}." - ], - "signature": [ - "Observable", - "<", - "ILicense", - ">" - ], + "description": ["\nSteam of licensing information {@link ILicense}."], + "signature": ["Observable", "<", "ILicense", ">"], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": false, "trackAdoption": false @@ -2375,14 +2139,8 @@ "type": "Function", "tags": [], "label": "refresh", - "description": [ - "\nTriggers licensing information re-fetch." - ], - "signature": [ - "() => Promise<", - "ILicense", - ">" - ], + "description": ["\nTriggers licensing information re-fetch."], + "signature": ["() => Promise<", "ILicense", ">"], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": false, "trackAdoption": false, @@ -2447,9 +2205,7 @@ "tags": [], "label": "pollingFrequency", "description": [], - "signature": [ - "number" - ], + "signature": ["number"], "path": "x-pack/plugins/licensing/server/types.ts", "deprecated": false, "trackAdoption": false, @@ -2464,9 +2220,7 @@ "type": "Object", "tags": [], "label": "featureUsage", - "description": [ - "\nAPIs to manage licensed feature usage." - ], + "description": ["\nAPIs to manage licensed feature usage."], "signature": [ { "pluginId": "licensing", @@ -2493,4 +2247,4 @@ "misc": [], "objects": [] } -} \ No newline at end of file +} diff --git a/api_docs/profiling.devdocs.json b/api_docs/profiling.devdocs.json index 6889fdd47e14ed..22ec96dd7c0838 100644 --- a/api_docs/profiling.devdocs.json +++ b/api_docs/profiling.devdocs.json @@ -14,10 +14,8 @@ "tags": [], "label": "ProfilingPluginStart", "description": [], - "signature": [ - "void" - ], - "path": "x-pack/plugins/profiling/public/plugin.tsx", + "signature": ["void"], + "path": "x-pack/plugins/observability_solution/profiling/public/plugin.tsx", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -40,7 +38,7 @@ "signature": [ "{ readonly telemetry?: boolean | undefined; readonly host?: string | undefined; readonly tls_enabled?: boolean | undefined; readonly tls_supported_protocols?: string[] | undefined; readonly tls_certificate_path?: string | undefined; readonly tls_key_path?: string | undefined; }" ], - "path": "x-pack/plugins/profiling/server/index.ts", + "path": "x-pack/plugins/observability_solution/profiling/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -55,7 +53,7 @@ "signature": [ "{ readonly elasticsearch?: Readonly<{} & { username: string; hosts: string; password: string; }> | undefined; readonly symbolizer?: Readonly<{ telemetry?: boolean | undefined; host?: string | undefined; tls_enabled?: boolean | undefined; tls_supported_protocols?: string[] | undefined; tls_certificate_path?: string | undefined; tls_key_path?: string | undefined; } & {}> | undefined; readonly collector?: Readonly<{ telemetry?: boolean | undefined; host?: string | undefined; tls_enabled?: boolean | undefined; tls_supported_protocols?: string[] | undefined; tls_certificate_path?: string | undefined; tls_key_path?: string | undefined; } & {}> | undefined; readonly enabled: boolean; }" ], - "path": "x-pack/plugins/profiling/server/index.ts", + "path": "x-pack/plugins/observability_solution/profiling/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -69,7 +67,7 @@ "tags": [], "label": "ProfilingPluginSetup", "description": [], - "path": "x-pack/plugins/profiling/server/types.ts", + "path": "x-pack/plugins/observability_solution/profiling/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -83,7 +81,7 @@ "tags": [], "label": "ProfilingPluginStart", "description": [], - "path": "x-pack/plugins/profiling/server/types.ts", + "path": "x-pack/plugins/observability_solution/profiling/server/types.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -104,7 +102,7 @@ "signature": [ "() => { TopN: string; TopNContainers: string; TopNDeployments: string; TopNFunctions: string; TopNHosts: string; TopNThreads: string; TopNTraces: string; Flamechart: string; HasSetupESResources: string; SetupDataCollectionInstructions: string; StorageExplorerSummary: string; StorageExplorerHostStorageDetails: string; StorageExplorerIndicesStorageDetails: string; }" ], - "path": "x-pack/plugins/profiling/common/index.ts", + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [], @@ -118,10 +116,8 @@ "tags": [], "label": "timeRangeFromRequest", "description": [], - "signature": [ - "(request: any) => [number, number]" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["(request: any) => [number, number]"], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -132,10 +128,8 @@ "tags": [], "label": "request", "description": [], - "signature": [ - "any" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["any"], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -155,10 +149,8 @@ "tags": [], "label": "INDEX_EVENTS", "description": [], - "signature": [ - "\"profiling-events-all\"" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["\"profiling-events-all\""], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -170,10 +162,8 @@ "tags": [], "label": "INDEX_EXECUTABLES", "description": [], - "signature": [ - "\"profiling-executables\"" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["\"profiling-executables\""], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -185,10 +175,8 @@ "tags": [], "label": "INDEX_FRAMES", "description": [], - "signature": [ - "\"profiling-stackframes\"" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["\"profiling-stackframes\""], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -200,10 +188,8 @@ "tags": [], "label": "INDEX_TRACES", "description": [], - "signature": [ - "\"profiling-stacktraces\"" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["\"profiling-stacktraces\""], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -215,7 +201,7 @@ "tags": [], "label": "NOT_AVAILABLE_LABEL", "description": [], - "path": "x-pack/plugins/profiling/common/index.ts", + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -227,10 +213,8 @@ "tags": [], "label": "PLUGIN_ID", "description": [], - "signature": [ - "\"profiling\"" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["\"profiling\""], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -242,10 +226,8 @@ "tags": [], "label": "PLUGIN_NAME", "description": [], - "signature": [ - "\"profiling\"" - ], - "path": "x-pack/plugins/profiling/common/index.ts", + "signature": ["\"profiling\""], + "path": "x-pack/plugins/observability_solution/profiling/common/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -253,4 +235,4 @@ ], "objects": [] } -} \ No newline at end of file +} diff --git a/api_docs/profiling_data_access.devdocs.json b/api_docs/profiling_data_access.devdocs.json index cfdad38608f239..07d1936c69377e 100644 --- a/api_docs/profiling_data_access.devdocs.json +++ b/api_docs/profiling_data_access.devdocs.json @@ -24,7 +24,7 @@ "signature": [ "{ readonly elasticsearch?: Readonly<{} & { username: string; hosts: string; password: string; }> | undefined; }" ], - "path": "x-pack/plugins/profiling_data_access/server/index.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/server/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -67,7 +67,7 @@ }, ">; }; }" ], - "path": "x-pack/plugins/profiling_data_access/server/plugin.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -81,10 +81,8 @@ "tags": [], "label": "ProfilingDataAccessPluginSetup", "description": [], - "signature": [ - "void" - ], - "path": "x-pack/plugins/profiling_data_access/server/plugin.ts", + "signature": ["void"], + "path": "x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts", "deprecated": false, "trackAdoption": false, "lifecycle": "start", @@ -128,7 +126,7 @@ }, " | null>" ], - "path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -139,7 +137,7 @@ "tags": [], "label": "{\n packagePolicyClient,\n soClient,\n}", "description": [], - "path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -159,7 +157,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false }, @@ -179,7 +177,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false } @@ -223,7 +221,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -234,7 +232,7 @@ "tags": [], "label": "{\n soClient,\n packagePolicyClient,\n}", "description": [], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -254,7 +252,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -274,7 +272,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false } @@ -318,7 +316,7 @@ }, " | undefined>" ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -329,7 +327,7 @@ "tags": [], "label": "{\n soClient,\n packagePolicyClient,\n}", "description": [], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -349,7 +347,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false }, @@ -369,7 +367,7 @@ "text": "SavedObjectsClientContract" } ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false } @@ -399,7 +397,7 @@ " extends ", "ProfilingSetupOptions" ], - "path": "x-pack/plugins/profiling_data_access/common/cloud_setup.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -419,7 +417,7 @@ "text": "PackagePolicyClient" } ], - "path": "x-pack/plugins/profiling_data_access/common/cloud_setup.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts", "deprecated": false, "trackAdoption": false }, @@ -430,7 +428,7 @@ "tags": [], "label": "isCloudEnabled", "description": [], - "path": "x-pack/plugins/profiling_data_access/common/cloud_setup.ts", + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts", "deprecated": false, "trackAdoption": false } @@ -447,10 +445,8 @@ "tags": [], "label": "COLLECTOR_PACKAGE_POLICY_NAME", "description": [], - "signature": [ - "\"elastic-universal-profiling-collector\"" - ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "signature": ["\"elastic-universal-profiling-collector\""], + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -462,10 +458,8 @@ "tags": [], "label": "ELASTIC_CLOUD_APM_POLICY", "description": [], - "signature": [ - "\"elastic-cloud-apm\"" - ], - "path": "x-pack/plugins/profiling_data_access/common/get_apm_policy.ts", + "signature": ["\"elastic-cloud-apm\""], + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -477,10 +471,8 @@ "tags": [], "label": "MAX_BUCKETS", "description": [], - "signature": [ - "150000" - ], - "path": "x-pack/plugins/profiling_data_access/common/cluster_settings.ts", + "signature": ["150000"], + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/cluster_settings.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -492,10 +484,8 @@ "tags": [], "label": "SYMBOLIZER_PACKAGE_POLICY_NAME", "description": [], - "signature": [ - "\"elastic-universal-profiling-symbolizer\"" - ], - "path": "x-pack/plugins/profiling_data_access/common/fleet_policies.ts", + "signature": ["\"elastic-universal-profiling-symbolizer\""], + "path": "x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -503,4 +493,4 @@ ], "objects": [] } -} \ No newline at end of file +} diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 49b36748aa2f3a..1ff888c5e07ede 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -712,11 +712,11 @@ Elastic. |This plugin helps users learn how to use the Painless scripting language. -|{kib-repo}blob/{branch}/x-pack/plugins/profiling/README.md[profiling] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/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/profiling_data_access[profilingDataAccess] +|{kib-repo}blob/{branch}/x-pack/plugins/observability_solution/profiling_data_access[profilingDataAccess] |WARNING: Missing README. diff --git a/package.json b/package.json index dcd3c65c7a3cc9..5230718ec708fe 100644 --- a/package.json +++ b/package.json @@ -612,8 +612,8 @@ "@kbn/presentation-panel-plugin": "link:src/plugins/presentation_panel", "@kbn/presentation-publishing": "link:packages/presentation/presentation_publishing", "@kbn/presentation-util-plugin": "link:src/plugins/presentation_util", - "@kbn/profiling-data-access-plugin": "link:x-pack/plugins/profiling_data_access", - "@kbn/profiling-plugin": "link:x-pack/plugins/profiling", + "@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/random-sampling": "link:x-pack/packages/kbn-random-sampling", "@kbn/react-field": "link:packages/kbn-react-field", diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 785bd58f500b21..0ea6dbb3d8b589 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -68,7 +68,7 @@ export const IGNORE_FILE_GLOBS = [ 'x-pack/plugins/maps/server/fonts/**/*', - 'x-pack/plugins/profiling/Makefile', + 'x-pack/plugins/observability_solution/profiling/Makefile', // Bazel default files '**/WORKSPACE.bazel', diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 93241f4b77c0eb..208b4c0304b201 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -61,5 +61,5 @@ export const storybookAliases = { triggers_actions_ui: 'x-pack/plugins/triggers_actions_ui/.storybook', ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook', unified_search: 'src/plugins/unified_search/.storybook', - profiling: 'x-pack/plugins/profiling/.storybook', + profiling: 'x-pack/plugins/observability_solution/profiling/.storybook', }; diff --git a/tsconfig.base.json b/tsconfig.base.json index 6c0706e7988de7..3598a96a33ea0a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1200,10 +1200,10 @@ "@kbn/presentation-publishing/*": ["packages/presentation/presentation_publishing/*"], "@kbn/presentation-util-plugin": ["src/plugins/presentation_util"], "@kbn/presentation-util-plugin/*": ["src/plugins/presentation_util/*"], - "@kbn/profiling-data-access-plugin": ["x-pack/plugins/profiling_data_access"], - "@kbn/profiling-data-access-plugin/*": ["x-pack/plugins/profiling_data_access/*"], - "@kbn/profiling-plugin": ["x-pack/plugins/profiling"], - "@kbn/profiling-plugin/*": ["x-pack/plugins/profiling/*"], + "@kbn/profiling-data-access-plugin": ["x-pack/plugins/observability_solution/profiling_data_access"], + "@kbn/profiling-data-access-plugin/*": ["x-pack/plugins/observability_solution/profiling_data_access/*"], + "@kbn/profiling-plugin": ["x-pack/plugins/observability_solution/profiling"], + "@kbn/profiling-plugin/*": ["x-pack/plugins/observability_solution/profiling/*"], "@kbn/profiling-utils": ["packages/kbn-profiling-utils"], "@kbn/profiling-utils/*": ["packages/kbn-profiling-utils/*"], "@kbn/random-sampling": ["x-pack/packages/kbn-random-sampling"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index b2d4dd355a398e..0d9fc7849395cf 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -73,7 +73,7 @@ "xpack.observabilityAiAssistant": "plugins/observability_solution/observability_ai_assistant", "xpack.osquery": ["plugins/osquery"], "xpack.painlessLab": "plugins/painless_lab", - "xpack.profiling": ["plugins/profiling"], + "xpack.profiling": ["plugins/observability_solution/profiling"], "xpack.remoteClusters": "plugins/remote_clusters", "xpack.reporting": ["plugins/reporting"], "xpack.rollupJobs": ["plugins/rollup"], diff --git a/x-pack/plugins/profiling/.gitignore b/x-pack/plugins/observability_solution/profiling/.gitignore similarity index 100% rename from x-pack/plugins/profiling/.gitignore rename to x-pack/plugins/observability_solution/profiling/.gitignore diff --git a/x-pack/plugins/profiling/.i18nrc.json b/x-pack/plugins/observability_solution/profiling/.i18nrc.json similarity index 100% rename from x-pack/plugins/profiling/.i18nrc.json rename to x-pack/plugins/observability_solution/profiling/.i18nrc.json diff --git a/x-pack/plugins/profiling/.storybook/jest_setup.js b/x-pack/plugins/observability_solution/profiling/.storybook/jest_setup.js similarity index 100% rename from x-pack/plugins/profiling/.storybook/jest_setup.js rename to x-pack/plugins/observability_solution/profiling/.storybook/jest_setup.js diff --git a/x-pack/plugins/profiling/.storybook/main.js b/x-pack/plugins/observability_solution/profiling/.storybook/main.js similarity index 100% rename from x-pack/plugins/profiling/.storybook/main.js rename to x-pack/plugins/observability_solution/profiling/.storybook/main.js diff --git a/x-pack/plugins/profiling/.storybook/preview.js b/x-pack/plugins/observability_solution/profiling/.storybook/preview.js similarity index 100% rename from x-pack/plugins/profiling/.storybook/preview.js rename to x-pack/plugins/observability_solution/profiling/.storybook/preview.js diff --git a/x-pack/plugins/profiling/DOCKER.md b/x-pack/plugins/observability_solution/profiling/DOCKER.md similarity index 100% rename from x-pack/plugins/profiling/DOCKER.md rename to x-pack/plugins/observability_solution/profiling/DOCKER.md diff --git a/x-pack/plugins/profiling/Dockerfile b/x-pack/plugins/observability_solution/profiling/Dockerfile similarity index 100% rename from x-pack/plugins/profiling/Dockerfile rename to x-pack/plugins/observability_solution/profiling/Dockerfile diff --git a/x-pack/plugins/profiling/Makefile b/x-pack/plugins/observability_solution/profiling/Makefile similarity index 100% rename from x-pack/plugins/profiling/Makefile rename to x-pack/plugins/observability_solution/profiling/Makefile diff --git a/x-pack/plugins/profiling/README.md b/x-pack/plugins/observability_solution/profiling/README.md similarity index 81% rename from x-pack/plugins/profiling/README.md rename to x-pack/plugins/observability_solution/profiling/README.md index 869bba9fb1a1be..01e7a0fe54464f 100644 --- a/x-pack/plugins/profiling/README.md +++ b/x-pack/plugins/observability_solution/profiling/README.md @@ -4,7 +4,7 @@ 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. ### Universal profiling setup -Universal Profiling is enabled by default on [Elastic Cloud](https://www.elastic.co/cloud/), and you can find it under **Observability**. To see data in Universal Profiling, you need to initialize it. +Universal Profiling is enabled by default on [Elastic Cloud](https://www.elastic.co/cloud/), and you can find it under **Observability**. To see data in Universal Profiling, you need to initialize it. ##### **Initialize Universal Profiling** Initialize Universal Profiling by navigating to one of the views and clicking the **Set up** button. Clicking this will trigger some checks and install some packages so data can be processed. @@ -34,7 +34,7 @@ It processes both publicly-available debug symbols and "private" debug symbols. For public symbols, users don't have to do anything: the symbolizer asynchronously intercepts unsymbolized frames and populates them automatically. -For private symbols, an HTTPS endpoint is provided to users for uploading the debug symbols of the software they own. +For private symbols, an HTTPS endpoint is provided to users for uploading the debug symbols of the software they own. The authentication and authorization on this endpoint are provided as part of the request, in form of an Elasticsearch API key. @@ -43,37 +43,37 @@ The authentication and authorization on this endpoint are provided as part of th ### Unit Tests (Jest) ``` -node scripts/jest --config x-pack/plugins/profiling/jest.config.js [--watchAll] +node scripts/jest --config x-pack/plugins/observability_solution/profiling/jest.config.js [--watchAll] ``` ## E2E Tests (Cypress) -The E2E tests are located in [`x-pack/plugins/profiling/e2e`](./e2e). +The E2E tests are located in [`x-pack/plugins/observability_solution/profiling/e2e`](./e2e). -Universal Profiling uses [FTR](../../../packages/kbn-test/README.mdx) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/plugins/profiling/e2e/cypress/e2e`. +Universal Profiling uses [FTR](../../../packages/kbn-test/README.mdx) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e`. ### Start test server ``` -node x-pack/plugins/profiling/scripts/test/e2e --server +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --server ``` ### Open cypress dashboard ``` -node x-pack/plugins/profiling/scripts/test/e2e --open +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --open ``` ### Run tests in terminal ``` -node x-pack/plugins/profiling/scripts/test/e2e --runner +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --runner ``` ### Run like CI ``` -node x-pack/plugins/profiling/scripts/test/e2e +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e ``` ## Other resources -- [Official Profiling documentation](https://www.elastic.co/observability/universal-profiling) \ No newline at end of file +- [Official Profiling documentation](https://www.elastic.co/observability/universal-profiling) diff --git a/x-pack/plugins/profiling/common/__fixtures__/base_flamegraph.ts b/x-pack/plugins/observability_solution/profiling/common/__fixtures__/base_flamegraph.ts similarity index 100% rename from x-pack/plugins/profiling/common/__fixtures__/base_flamegraph.ts rename to x-pack/plugins/observability_solution/profiling/common/__fixtures__/base_flamegraph.ts diff --git a/x-pack/plugins/profiling/common/columnar_view_model.test.ts b/x-pack/plugins/observability_solution/profiling/common/columnar_view_model.test.ts similarity index 100% rename from x-pack/plugins/profiling/common/columnar_view_model.test.ts rename to x-pack/plugins/observability_solution/profiling/common/columnar_view_model.test.ts diff --git a/x-pack/plugins/profiling/common/columnar_view_model.ts b/x-pack/plugins/observability_solution/profiling/common/columnar_view_model.ts similarity index 100% rename from x-pack/plugins/profiling/common/columnar_view_model.ts rename to x-pack/plugins/observability_solution/profiling/common/columnar_view_model.ts diff --git a/x-pack/plugins/profiling/common/commonly_used_ranges.ts b/x-pack/plugins/observability_solution/profiling/common/commonly_used_ranges.ts similarity index 100% rename from x-pack/plugins/profiling/common/commonly_used_ranges.ts rename to x-pack/plugins/observability_solution/profiling/common/commonly_used_ranges.ts diff --git a/x-pack/plugins/profiling/common/frame_type_colors.ts b/x-pack/plugins/observability_solution/profiling/common/frame_type_colors.ts similarity index 100% rename from x-pack/plugins/profiling/common/frame_type_colors.ts rename to x-pack/plugins/observability_solution/profiling/common/frame_type_colors.ts diff --git a/x-pack/plugins/profiling/common/histogram.ts b/x-pack/plugins/observability_solution/profiling/common/histogram.ts similarity index 100% rename from x-pack/plugins/profiling/common/histogram.ts rename to x-pack/plugins/observability_solution/profiling/common/histogram.ts diff --git a/x-pack/plugins/profiling/common/index.test.ts b/x-pack/plugins/observability_solution/profiling/common/index.test.ts similarity index 100% rename from x-pack/plugins/profiling/common/index.test.ts rename to x-pack/plugins/observability_solution/profiling/common/index.test.ts diff --git a/x-pack/plugins/profiling/common/index.ts b/x-pack/plugins/observability_solution/profiling/common/index.ts similarity index 100% rename from x-pack/plugins/profiling/common/index.ts rename to x-pack/plugins/observability_solution/profiling/common/index.ts diff --git a/x-pack/plugins/profiling/common/runtime_types/range_rt.ts b/x-pack/plugins/observability_solution/profiling/common/runtime_types/range_rt.ts similarity index 100% rename from x-pack/plugins/profiling/common/runtime_types/range_rt.ts rename to x-pack/plugins/observability_solution/profiling/common/runtime_types/range_rt.ts diff --git a/x-pack/plugins/profiling/common/storage_explorer.ts b/x-pack/plugins/observability_solution/profiling/common/storage_explorer.ts similarity index 100% rename from x-pack/plugins/profiling/common/storage_explorer.ts rename to x-pack/plugins/observability_solution/profiling/common/storage_explorer.ts diff --git a/x-pack/plugins/profiling/common/topn.test.ts b/x-pack/plugins/observability_solution/profiling/common/topn.test.ts similarity index 100% rename from x-pack/plugins/profiling/common/topn.test.ts rename to x-pack/plugins/observability_solution/profiling/common/topn.test.ts diff --git a/x-pack/plugins/profiling/common/topn.ts b/x-pack/plugins/observability_solution/profiling/common/topn.ts similarity index 100% rename from x-pack/plugins/profiling/common/topn.ts rename to x-pack/plugins/observability_solution/profiling/common/topn.ts diff --git a/x-pack/plugins/profiling/common/types.ts b/x-pack/plugins/observability_solution/profiling/common/types.ts similarity index 100% rename from x-pack/plugins/profiling/common/types.ts rename to x-pack/plugins/observability_solution/profiling/common/types.ts diff --git a/x-pack/plugins/profiling/e2e/README.md b/x-pack/plugins/observability_solution/profiling/e2e/README.md similarity index 72% rename from x-pack/plugins/profiling/e2e/README.md rename to x-pack/plugins/observability_solution/profiling/e2e/README.md index d6324be09ea67f..872aa50809c745 100644 --- a/x-pack/plugins/profiling/e2e/README.md +++ b/x-pack/plugins/observability_solution/profiling/e2e/README.md @@ -1,10 +1,10 @@ # Profiling E2E tests -Profiling uses [FTR](../../../../packages/kbn-test/README.md) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/plugins/profiling/e2e/cypress/e2e`. +Profiling uses [FTR](../../../../packages/kbn-test/README.md) (functional test runner) and [Cypress](https://www.cypress.io/) to run the e2e tests. The tests are located at `kibana/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e`. ## E2E Tests (Cypress) -The E2E tests are located in [`x-pack/plugins/profiling/e2e`](../e2e). +The E2E tests are located in [`x-pack/plugins/observability_solution/profiling/e2e`](../e2e). Tests run on buildkite PR pipeline are parallelized (4 parallel jobs) and are orchestrated by the Cypress dashboard service. It can be configured in [.buildkite/pipelines/pull_request/profiling_cypress.yml](https://github.com/elastic/kibana/blob/main/.buildkite/pipelines/pull_request/profiling_cypress.yml) with the property `parallelism`. @@ -20,21 +20,21 @@ Tests run on buildkite PR pipeline are parallelized (4 parallel jobs) and are or ### Start test server ``` -node x-pack/plugins/profiling/scripts/test/e2e --server +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --server ``` ### Run tests Runs all tests in the terminal ``` -node x-pack/plugins/profiling/scripts/test/e2e --runner +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --runner ``` ### Open cypress dashboard Opens cypress dashboard, there it's possible to select what test you want to run. ``` -node x-pack/plugins/profiling/scripts/test/e2e --open +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e --open ``` ### Arguments @@ -47,5 +47,5 @@ node x-pack/plugins/profiling/scripts/test/e2e --open | --bail | stop tests after the first failure | ``` -node x-pack/plugins/profiling/scripts/test/e2e.js --runner --spec cypress/e2e/profiling.cy.ts --times 2 -``` \ No newline at end of file +node x-pack/plugins/observability_solution/profiling/scripts/test/e2e.js --runner --spec cypress/e2e/profiling.cy.ts --times 2 +``` diff --git a/x-pack/plugins/profiling/e2e/cypress.config.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress.config.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress.config.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress.config.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/e2e/empty_state/home.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/empty_state/home.cy.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/e2e/empty_state/home.cy.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/empty_state/home.cy.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/differential_functions.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/differential_functions.cy.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/differential_functions.cy.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/differential_functions.cy.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/functions.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/functions.cy.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/functions.cy.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/functions.cy.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/home.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/home.cy.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/home.cy.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/home.cy.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/settings.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/settings.cy.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/settings.cy.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/settings.cy.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/stacktraces.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/stacktraces.cy.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/stacktraces.cy.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/stacktraces.cy.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/e2e/profiling_views/storage_explorer.cy.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/fixtures/storage_explorer_summary.json b/x-pack/plugins/observability_solution/profiling/e2e/cypress/fixtures/storage_explorer_summary.json similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/fixtures/storage_explorer_summary.json rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/fixtures/storage_explorer_summary.json diff --git a/x-pack/plugins/profiling/e2e/cypress/support/commands.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/support/commands.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/support/commands.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/support/commands.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/support/e2e.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/support/e2e.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/support/e2e.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/support/e2e.ts diff --git a/x-pack/plugins/profiling/e2e/cypress/support/types.d.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress/support/types.d.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress/support/types.d.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress/support/types.d.ts diff --git a/x-pack/plugins/profiling/e2e/cypress_test_runner.ts b/x-pack/plugins/observability_solution/profiling/e2e/cypress_test_runner.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/cypress_test_runner.ts rename to x-pack/plugins/observability_solution/profiling/e2e/cypress_test_runner.ts diff --git a/x-pack/plugins/profiling/e2e/es_archivers/profiling_data_anonymized.json b/x-pack/plugins/observability_solution/profiling/e2e/es_archivers/profiling_data_anonymized.json similarity index 100% rename from x-pack/plugins/profiling/e2e/es_archivers/profiling_data_anonymized.json rename to x-pack/plugins/observability_solution/profiling/e2e/es_archivers/profiling_data_anonymized.json diff --git a/x-pack/plugins/profiling/e2e/ftr_config.ts b/x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts similarity index 92% rename from x-pack/plugins/profiling/e2e/ftr_config.ts rename to x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts index c042c085b37d03..876ca1d2abfe4e 100644 --- a/x-pack/plugins/profiling/e2e/ftr_config.ts +++ b/x-pack/plugins/observability_solution/profiling/e2e/ftr_config.ts @@ -13,10 +13,10 @@ const kibanaYamlFilePath = path.join(__dirname, './ftr_kibana.yml'); async function ftrConfig({ readConfigFile }: FtrConfigProviderContext) { const kibanaCommonTestsConfig = await readConfigFile( - require.resolve('../../../../test/common/config.js') + require.resolve('../../../../../test/common/config.js') ); const xpackFunctionalTestsConfig = await readConfigFile( - require.resolve('../../../test/functional/config.base.js') + require.resolve('../../../../test/functional/config.base.js') ); return { diff --git a/x-pack/plugins/profiling/e2e/ftr_config_open.ts b/x-pack/plugins/observability_solution/profiling/e2e/ftr_config_open.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/ftr_config_open.ts rename to x-pack/plugins/observability_solution/profiling/e2e/ftr_config_open.ts diff --git a/x-pack/plugins/profiling/e2e/ftr_config_runner.ts b/x-pack/plugins/observability_solution/profiling/e2e/ftr_config_runner.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/ftr_config_runner.ts rename to x-pack/plugins/observability_solution/profiling/e2e/ftr_config_runner.ts diff --git a/x-pack/plugins/profiling/e2e/ftr_kibana.yml b/x-pack/plugins/observability_solution/profiling/e2e/ftr_kibana.yml similarity index 100% rename from x-pack/plugins/profiling/e2e/ftr_kibana.yml rename to x-pack/plugins/observability_solution/profiling/e2e/ftr_kibana.yml diff --git a/x-pack/plugins/profiling/e2e/ftr_provider_context.d.ts b/x-pack/plugins/observability_solution/profiling/e2e/ftr_provider_context.d.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/ftr_provider_context.d.ts rename to x-pack/plugins/observability_solution/profiling/e2e/ftr_provider_context.d.ts diff --git a/x-pack/plugins/profiling/e2e/load_profiling_data.ts b/x-pack/plugins/observability_solution/profiling/e2e/load_profiling_data.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/load_profiling_data.ts rename to x-pack/plugins/observability_solution/profiling/e2e/load_profiling_data.ts diff --git a/x-pack/plugins/profiling/e2e/setup_profiling_resources.ts b/x-pack/plugins/observability_solution/profiling/e2e/setup_profiling_resources.ts similarity index 100% rename from x-pack/plugins/profiling/e2e/setup_profiling_resources.ts rename to x-pack/plugins/observability_solution/profiling/e2e/setup_profiling_resources.ts diff --git a/x-pack/plugins/profiling/e2e/tsconfig.json b/x-pack/plugins/observability_solution/profiling/e2e/tsconfig.json similarity index 53% rename from x-pack/plugins/profiling/e2e/tsconfig.json rename to x-pack/plugins/observability_solution/profiling/e2e/tsconfig.json index ed7aaac667025b..30abba7217ad95 100644 --- a/x-pack/plugins/profiling/e2e/tsconfig.json +++ b/x-pack/plugins/observability_solution/profiling/e2e/tsconfig.json @@ -1,19 +1,10 @@ { - "extends": "../../../../tsconfig.base.json", - "include": [ - "**/*" - ], - "exclude": [ - "tmp", - "target/**/*" - ], + "extends": "../../../../../tsconfig.base.json", + "include": ["**/*"], + "exclude": ["tmp", "target/**/*"], "compilerOptions": { "outDir": "target/types", - "types": [ - "cypress", - "node", - "cypress-real-events" - ], + "types": ["cypress", "node", "cypress-real-events"], "isolatedModules": false }, "kbn_references": [ @@ -22,6 +13,6 @@ "@kbn/test", "@kbn/dev-utils", "@kbn/cypress-config", - "@kbn/observability-plugin", + "@kbn/observability-plugin" ] } diff --git a/x-pack/plugins/observability_solution/profiling/jest.config.js b/x-pack/plugins/observability_solution/profiling/jest.config.js new file mode 100644 index 00000000000000..4d2d187d9f10ce --- /dev/null +++ b/x-pack/plugins/observability_solution/profiling/jest.config.js @@ -0,0 +1,18 @@ +/* + * 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; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../..', + roots: ['/x-pack/plugins/observability_solution/profiling'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/plugins/observability_solution/profiling', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/observability_solution/profiling/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/profiling/kibana.jsonc b/x-pack/plugins/observability_solution/profiling/kibana.jsonc similarity index 100% rename from x-pack/plugins/profiling/kibana.jsonc rename to x-pack/plugins/observability_solution/profiling/kibana.jsonc diff --git a/x-pack/plugins/profiling/public/app.tsx b/x-pack/plugins/observability_solution/profiling/public/app.tsx similarity index 100% rename from x-pack/plugins/profiling/public/app.tsx rename to x-pack/plugins/observability_solution/profiling/public/app.tsx diff --git a/x-pack/plugins/profiling/public/components/async_component.tsx b/x-pack/plugins/observability_solution/profiling/public/components/async_component.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/async_component.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/async_component.tsx diff --git a/x-pack/plugins/profiling/public/components/chart_grid.tsx b/x-pack/plugins/observability_solution/profiling/public/components/chart_grid.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/chart_grid.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/chart_grid.tsx diff --git a/x-pack/plugins/profiling/public/components/check_setup.tsx b/x-pack/plugins/observability_solution/profiling/public/components/check_setup.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/check_setup.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/check_setup.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/license/license_context.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/license/license_context.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/license/license_context.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/license/use_license_context.ts b/x-pack/plugins/observability_solution/profiling/public/components/contexts/license/use_license_context.ts similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/license/use_license_context.ts rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/license/use_license_context.ts diff --git a/x-pack/plugins/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/mock_profiling_dependencies_storybook.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/profiling_dependencies_context.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_dependencies/use_profiling_dependencies.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/profiling_setup_status_context.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/profiling_setup_status/use_profiling_setup_status.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/index.tsx diff --git a/x-pack/plugins/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts b/x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/route_breadcrumbs_context/use_route_breadcrumb.ts diff --git a/x-pack/plugins/profiling/public/components/contexts/time_range_context/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/contexts/time_range_context/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/contexts/time_range_context/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/contexts/time_range_context/index.tsx diff --git a/x-pack/plugins/profiling/public/components/cpu_label_with_hint/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/cpu_label_with_hint/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/cpu_label_with_hint/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/cpu_label_with_hint/index.tsx diff --git a/x-pack/plugins/profiling/public/components/differential_comparison_mode/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/differential_comparison_mode/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/differential_comparison_mode/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/differential_comparison_mode/index.tsx diff --git a/x-pack/plugins/profiling/public/components/differential_topn_functions_grid/get_columns.tsx b/x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_columns.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/differential_topn_functions_grid/get_columns.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_columns.tsx diff --git a/x-pack/plugins/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx b/x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/get_compare_frame_action.tsx diff --git a/x-pack/plugins/profiling/public/components/differential_topn_functions_grid/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/differential_topn_functions_grid/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/differential_topn_functions_grid/index.tsx diff --git a/x-pack/plugins/profiling/public/components/flamegraph/flame_graph_legend.tsx b/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flame_graph_legend.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/flamegraph/flame_graph_legend.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flame_graph_legend.tsx diff --git a/x-pack/plugins/profiling/public/components/flamegraph/flamegraph_tooltip.tsx b/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flamegraph_tooltip.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/flamegraph/flamegraph_tooltip.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/flamegraph/flamegraph_tooltip.tsx diff --git a/x-pack/plugins/profiling/public/components/flamegraph/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/flamegraph/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/flamegraph/index.tsx diff --git a/x-pack/plugins/profiling/public/components/flamegraph/tooltip_row.tsx b/x-pack/plugins/observability_solution/profiling/public/components/flamegraph/tooltip_row.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/flamegraph/tooltip_row.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/flamegraph/tooltip_row.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/empty_frame.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/empty_frame.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/empty_frame.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/empty_frame.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_ai_assistant.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/frame_information_panel.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_panel.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/frame_information_panel.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_panel.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/frame_information_tooltip.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_tooltip.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/frame_information_tooltip.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/frame_information_tooltip.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/get_impact_rows.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_impact_rows.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/get_impact_rows.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_impact_rows.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/get_information_rows.ts b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_information_rows.ts similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/get_information_rows.ts rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/get_information_rows.ts diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/index.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/key_value_list.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/key_value_list.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/key_value_list.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/key_value_list.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.stories.tsx diff --git a/x-pack/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frame_information_window/missing_symbols_callout.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frame_information_window/missing_symbols_callout.tsx diff --git a/x-pack/plugins/profiling/public/components/frames_summary/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frames_summary/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frames_summary/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frames_summary/index.tsx diff --git a/x-pack/plugins/profiling/public/components/frames_summary/summary_item.test.ts b/x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/components/frames_summary/summary_item.test.ts rename to x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.test.ts diff --git a/x-pack/plugins/profiling/public/components/frames_summary/summary_item.tsx b/x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/frames_summary/summary_item.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/frames_summary/summary_item.tsx diff --git a/x-pack/plugins/profiling/public/components/label_with_hint/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/label_with_hint/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/label_with_hint/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/label_with_hint/index.tsx diff --git a/x-pack/plugins/profiling/public/components/legend.tsx b/x-pack/plugins/observability_solution/profiling/public/components/legend.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/legend.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/legend.tsx diff --git a/x-pack/plugins/profiling/public/components/license_prompt/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/license_prompt/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/license_prompt/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/license_prompt/index.tsx diff --git a/x-pack/plugins/profiling/public/components/normalization_menu/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/normalization_menu/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/normalization_menu/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/normalization_menu/index.tsx diff --git a/x-pack/plugins/profiling/public/components/primary_and_comparison_search_bar.tsx b/x-pack/plugins/observability_solution/profiling/public/components/primary_and_comparison_search_bar.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/primary_and_comparison_search_bar.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/primary_and_comparison_search_bar.tsx diff --git a/x-pack/plugins/profiling/public/components/profiling_app_page_template/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/profiling_app_page_template/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/index.tsx diff --git a/x-pack/plugins/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx b/x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/primary_profiling_search_bar.tsx diff --git a/x-pack/plugins/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx b/x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/profiling_app_page_template/profiling_search_bar.tsx diff --git a/x-pack/plugins/profiling/public/components/profiling_header_action_menu.tsx b/x-pack/plugins/observability_solution/profiling/public/components/profiling_header_action_menu.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/profiling_header_action_menu.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/profiling_header_action_menu.tsx diff --git a/x-pack/plugins/profiling/public/components/redirect_to.tsx b/x-pack/plugins/observability_solution/profiling/public/components/redirect_to.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/redirect_to.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/redirect_to.tsx diff --git a/x-pack/plugins/profiling/public/components/redirect_with_default_date_range.tsx b/x-pack/plugins/observability_solution/profiling/public/components/redirect_with_default_date_range.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/redirect_with_default_date_range.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/redirect_with_default_date_range.tsx diff --git a/x-pack/plugins/profiling/public/components/stack_frame_summary/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/stack_frame_summary/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/stack_frame_summary/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/stack_frame_summary/index.tsx diff --git a/x-pack/plugins/profiling/public/components/stack_traces/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/stack_traces/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/stack_traces/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/stack_traces/index.tsx diff --git a/x-pack/plugins/profiling/public/components/stacked_bar_chart/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/stacked_bar_chart/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/stacked_bar_chart/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/stacked_bar_chart/index.tsx diff --git a/x-pack/plugins/profiling/public/components/subchart.tsx b/x-pack/plugins/observability_solution/profiling/public/components/subchart.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/subchart.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/subchart.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/cpu_stat.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/cpu_stat.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/cpu_stat.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/cpu_stat.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/function_row.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/function_row.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/function_row.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/index.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/index.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/label.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/label.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/label.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/label.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/mock/top_n_functions.ts similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/mock/top_n_functions.ts rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/mock/top_n_functions.ts diff --git a/x-pack/plugins/profiling/public/components/topn_functions/sample_stat.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/sample_stat.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/sample_stat.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/sample_stat.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/topn_functions.stories.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/topn_functions.stories.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/topn_functions.stories.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/topn_functions.stories.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/total_samples_stat.tsx b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/total_samples_stat.tsx similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/total_samples_stat.tsx rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/total_samples_stat.tsx diff --git a/x-pack/plugins/profiling/public/components/topn_functions/utils.test.ts b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/utils.test.ts rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.test.ts diff --git a/x-pack/plugins/profiling/public/components/topn_functions/utils.ts b/x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.ts similarity index 100% rename from x-pack/plugins/profiling/public/components/topn_functions/utils.ts rename to x-pack/plugins/observability_solution/profiling/public/components/topn_functions/utils.ts diff --git a/x-pack/plugins/profiling/public/embeddables/async_embeddable_component.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/async_embeddable_component.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/async_embeddable_component.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/async_embeddable_component.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/empty_data_prompt.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/empty_data_prompt.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/empty_data_prompt.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/empty_data_prompt.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/error_prompt.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/error_prompt.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/error_prompt.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/error_prompt.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/embeddable_flamegraph.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/flamegraph/embeddable_flamegraph_factory.ts b/x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/embeddable_flamegraph_factory.ts similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/flamegraph/embeddable_flamegraph_factory.ts rename to x-pack/plugins/observability_solution/profiling/public/embeddables/flamegraph/embeddable_flamegraph_factory.ts diff --git a/x-pack/plugins/profiling/public/embeddables/functions/embeddable_functions.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/functions/embeddable_functions.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/functions/embeddable_functions_factory.ts b/x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions_factory.ts similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/functions/embeddable_functions_factory.ts rename to x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions_factory.ts diff --git a/x-pack/plugins/profiling/public/embeddables/functions/embeddable_functions_grid.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions_grid.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/functions/embeddable_functions_grid.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/functions/embeddable_functions_grid.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/profiling_embeddable_provider.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/profiling_embeddable_provider.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/profiling_embeddable_provider.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/profiling_embeddable_provider.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/register_embeddables.ts b/x-pack/plugins/observability_solution/profiling/public/embeddables/register_embeddables.ts similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/register_embeddables.ts rename to x-pack/plugins/observability_solution/profiling/public/embeddables/register_embeddables.ts diff --git a/x-pack/plugins/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/embeddable_search_bar.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/search_bar/embeddable_search_bar_factory.ts b/x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/embeddable_search_bar_factory.ts similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/search_bar/embeddable_search_bar_factory.ts rename to x-pack/plugins/observability_solution/profiling/public/embeddables/search_bar/embeddable_search_bar_factory.ts diff --git a/x-pack/plugins/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/embeddable_stack_traces.tsx diff --git a/x-pack/plugins/profiling/public/embeddables/stack_traces/embeddable_stack_traces_factory.ts b/x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/embeddable_stack_traces_factory.ts similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/stack_traces/embeddable_stack_traces_factory.ts rename to x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/embeddable_stack_traces_factory.ts diff --git a/x-pack/plugins/profiling/public/embeddables/stack_traces/stack_traces.tsx b/x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/stack_traces.tsx similarity index 100% rename from x-pack/plugins/profiling/public/embeddables/stack_traces/stack_traces.tsx rename to x-pack/plugins/observability_solution/profiling/public/embeddables/stack_traces/stack_traces.tsx diff --git a/x-pack/plugins/profiling/public/hooks/use_async.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_async.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_async.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_async.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_auto_aborted_http_client.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_auto_aborted_http_client.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_auto_aborted_http_client.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_auto_aborted_http_client.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_calculate_impact_estimates.test.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_calculate_impact_estimates.test.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.test.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_calculate_impact_estimates.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_calculate_impact_estimates.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_calculate_impact_estimates.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_default_date_range_redirect.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_default_date_range_redirect.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_default_date_range_redirect.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_default_date_range_redirect.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_kibana_timezone_setting.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_kibana_timezone_setting.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_kibana_timezone_setting.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_kibana_timezone_setting.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_local_storage.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_local_storage.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_local_storage.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_local_storage.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_profiling_charts_theme.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_charts_theme.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_profiling_charts_theme.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_charts_theme.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_profiling_params.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_params.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_profiling_params.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_params.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_profiling_route_path.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_route_path.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_profiling_route_path.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_route_path.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_profiling_router.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_router.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_profiling_router.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_profiling_router.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_time_range.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_time_range.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_time_range_async.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_async.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_time_range_async.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_async.ts diff --git a/x-pack/plugins/profiling/public/hooks/use_time_range_context.ts b/x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_context.ts similarity index 100% rename from x-pack/plugins/profiling/public/hooks/use_time_range_context.ts rename to x-pack/plugins/observability_solution/profiling/public/hooks/use_time_range_context.ts diff --git a/x-pack/plugins/profiling/public/index.tsx b/x-pack/plugins/observability_solution/profiling/public/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/index.tsx diff --git a/x-pack/plugins/profiling/public/plugin.tsx b/x-pack/plugins/observability_solution/profiling/public/plugin.tsx similarity index 100% rename from x-pack/plugins/profiling/public/plugin.tsx rename to x-pack/plugins/observability_solution/profiling/public/plugin.tsx diff --git a/x-pack/plugins/profiling/public/routing/index.tsx b/x-pack/plugins/observability_solution/profiling/public/routing/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/routing/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/routing/index.tsx diff --git a/x-pack/plugins/profiling/public/routing/route_breadcrumb.tsx b/x-pack/plugins/observability_solution/profiling/public/routing/route_breadcrumb.tsx similarity index 100% rename from x-pack/plugins/profiling/public/routing/route_breadcrumb.tsx rename to x-pack/plugins/observability_solution/profiling/public/routing/route_breadcrumb.tsx diff --git a/x-pack/plugins/profiling/public/routing/router_error_boundary.tsx b/x-pack/plugins/observability_solution/profiling/public/routing/router_error_boundary.tsx similarity index 100% rename from x-pack/plugins/profiling/public/routing/router_error_boundary.tsx rename to x-pack/plugins/observability_solution/profiling/public/routing/router_error_boundary.tsx diff --git a/x-pack/plugins/profiling/public/services.ts b/x-pack/plugins/observability_solution/profiling/public/services.ts similarity index 100% rename from x-pack/plugins/profiling/public/services.ts rename to x-pack/plugins/observability_solution/profiling/public/services.ts diff --git a/x-pack/plugins/profiling/public/types.ts b/x-pack/plugins/observability_solution/profiling/public/types.ts similarity index 100% rename from x-pack/plugins/profiling/public/types.ts rename to x-pack/plugins/observability_solution/profiling/public/types.ts diff --git a/x-pack/plugins/profiling/public/utils/formatters/as_cost.ts b/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_cost.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/formatters/as_cost.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_cost.ts diff --git a/x-pack/plugins/profiling/public/utils/formatters/as_duration.ts b/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_duration.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/formatters/as_duration.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_duration.ts diff --git a/x-pack/plugins/profiling/public/utils/formatters/as_number.test.ts b/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/formatters/as_number.test.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.test.ts diff --git a/x-pack/plugins/profiling/public/utils/formatters/as_number.ts b/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/formatters/as_number.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_number.ts diff --git a/x-pack/plugins/profiling/public/utils/formatters/as_percentage.ts b/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_percentage.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/formatters/as_percentage.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_percentage.ts diff --git a/x-pack/plugins/profiling/public/utils/formatters/as_weight.test.ts b/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/formatters/as_weight.test.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.test.ts diff --git a/x-pack/plugins/profiling/public/utils/formatters/as_weight.ts b/x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/formatters/as_weight.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/formatters/as_weight.ts diff --git a/x-pack/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts b/x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.test.ts diff --git a/x-pack/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts b/x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/get_interpolation_value.ts diff --git a/x-pack/plugins/profiling/public/utils/get_flamegraph_model/index.ts b/x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/index.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/get_flamegraph_model/index.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/get_flamegraph_model/index.ts diff --git a/x-pack/plugins/profiling/public/utils/get_next_time_range/index.test.ts b/x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/get_next_time_range/index.test.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.test.ts diff --git a/x-pack/plugins/profiling/public/utils/get_next_time_range/index.ts b/x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.ts similarity index 100% rename from x-pack/plugins/profiling/public/utils/get_next_time_range/index.ts rename to x-pack/plugins/observability_solution/profiling/public/utils/get_next_time_range/index.ts diff --git a/x-pack/plugins/profiling/public/views/add_data_view/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/add_data_view/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/add_data_view/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/add_data_view/index.tsx diff --git a/x-pack/plugins/profiling/public/views/delete_data_view/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/delete_data_view/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/delete_data_view/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/delete_data_view/index.tsx diff --git a/x-pack/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx b/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/differential_flame_graph_search_panel.tsx diff --git a/x-pack/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/differential_flamegraphs/index.tsx diff --git a/x-pack/plugins/profiling/public/views/flamegraphs/flamegraph/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/flamegraph/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/flamegraphs/flamegraph/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/flamegraph/index.tsx diff --git a/x-pack/plugins/profiling/public/views/flamegraphs/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/flamegraphs/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/flamegraphs/index.tsx diff --git a/x-pack/plugins/profiling/public/views/functions/differential_topn/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/functions/differential_topn/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/functions/differential_topn/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/functions/differential_topn/index.tsx diff --git a/x-pack/plugins/profiling/public/views/functions/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/functions/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/functions/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/functions/index.tsx diff --git a/x-pack/plugins/profiling/public/views/functions/topn/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/functions/topn/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/functions/topn/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/functions/topn/index.tsx diff --git a/x-pack/plugins/profiling/public/views/settings/bottom_bar_actions.tsx b/x-pack/plugins/observability_solution/profiling/public/views/settings/bottom_bar_actions.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/settings/bottom_bar_actions.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/settings/bottom_bar_actions.tsx diff --git a/x-pack/plugins/profiling/public/views/settings/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/settings/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/settings/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/settings/index.tsx diff --git a/x-pack/plugins/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts b/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts similarity index 100% rename from x-pack/plugins/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts rename to x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/get_stack_traces_tabs.ts diff --git a/x-pack/plugins/profiling/public/views/stack_traces_view/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/stack_traces_view/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/index.tsx diff --git a/x-pack/plugins/profiling/public/views/stack_traces_view/utils.test.ts b/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.test.ts similarity index 100% rename from x-pack/plugins/profiling/public/views/stack_traces_view/utils.test.ts rename to x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.test.ts diff --git a/x-pack/plugins/profiling/public/views/stack_traces_view/utils.ts b/x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.ts similarity index 100% rename from x-pack/plugins/profiling/public/views/stack_traces_view/utils.ts rename to x-pack/plugins/observability_solution/profiling/public/views/stack_traces_view/utils.ts diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/grouped_index_details_chart.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/index.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/storage_details_table.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/utils.ts b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/utils.ts similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/data_breakdown/utils.ts rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/data_breakdown/utils.ts diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/distinct_probabilistic_values_warning.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/host_breakdown_chart.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/hosts_table.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/host_breakdown/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/host_breakdown/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/host_breakdown/index.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/index.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/index.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/index_lifecycle_phase_select.tsx diff --git a/x-pack/plugins/profiling/public/views/storage_explorer/summary.tsx b/x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/summary.tsx similarity index 100% rename from x-pack/plugins/profiling/public/views/storage_explorer/summary.tsx rename to x-pack/plugins/observability_solution/profiling/public/views/storage_explorer/summary.tsx diff --git a/x-pack/plugins/profiling/scripts/export_from_testing.sh b/x-pack/plugins/observability_solution/profiling/scripts/export_from_testing.sh similarity index 100% rename from x-pack/plugins/profiling/scripts/export_from_testing.sh rename to x-pack/plugins/observability_solution/profiling/scripts/export_from_testing.sh diff --git a/x-pack/plugins/profiling/scripts/import_from_testing.sh b/x-pack/plugins/observability_solution/profiling/scripts/import_from_testing.sh similarity index 100% rename from x-pack/plugins/profiling/scripts/import_from_testing.sh rename to x-pack/plugins/observability_solution/profiling/scripts/import_from_testing.sh diff --git a/x-pack/plugins/profiling/scripts/shrink_stacktrace_response.js b/x-pack/plugins/observability_solution/profiling/scripts/shrink_stacktrace_response.js similarity index 100% rename from x-pack/plugins/profiling/scripts/shrink_stacktrace_response.js rename to x-pack/plugins/observability_solution/profiling/scripts/shrink_stacktrace_response.js diff --git a/x-pack/plugins/profiling/scripts/test/api.js b/x-pack/plugins/observability_solution/profiling/scripts/test/api.js similarity index 100% rename from x-pack/plugins/profiling/scripts/test/api.js rename to x-pack/plugins/observability_solution/profiling/scripts/test/api.js diff --git a/x-pack/plugins/profiling/scripts/test/e2e.js b/x-pack/plugins/observability_solution/profiling/scripts/test/e2e.js similarity index 97% rename from x-pack/plugins/profiling/scripts/test/e2e.js rename to x-pack/plugins/observability_solution/profiling/scripts/test/e2e.js index 8a584a84bdc877..fd2da7b56fb68e 100644 --- a/x-pack/plugins/profiling/scripts/test/e2e.js +++ b/x-pack/plugins/observability_solution/profiling/scripts/test/e2e.js @@ -10,6 +10,7 @@ const { times } = require('lodash'); const path = require('path'); const yargs = require('yargs'); const childProcess = require('child_process'); +const { REPO_ROOT } = require('@kbn/repo-info'); const { argv } = yargs(process.argv.slice(2)) .parserConfiguration({ 'unknown-options-as-args': true }) @@ -65,7 +66,7 @@ if (cypressCliArgs.grep) { const ftrConfig = argv.open ? './ftr_config_open.ts' : './ftr_config_runner.ts'; const spawnArgs = [ - `../../../../scripts/${ftrScript}`, + `${REPO_ROOT}/scripts/${ftrScript}`, `--config=${ftrConfig}`, `--kibana-install-dir=${argv.kibanaInstallDir}`, ...(argv.bail ? [`--bail`] : []), diff --git a/x-pack/plugins/profiling/server/feature.ts b/x-pack/plugins/observability_solution/profiling/server/feature.ts similarity index 100% rename from x-pack/plugins/profiling/server/feature.ts rename to x-pack/plugins/observability_solution/profiling/server/feature.ts diff --git a/x-pack/plugins/profiling/server/index.ts b/x-pack/plugins/observability_solution/profiling/server/index.ts similarity index 100% rename from x-pack/plugins/profiling/server/index.ts rename to x-pack/plugins/observability_solution/profiling/server/index.ts diff --git a/x-pack/plugins/profiling/server/lib/setup/README.md b/x-pack/plugins/observability_solution/profiling/server/lib/setup/README.md similarity index 100% rename from x-pack/plugins/profiling/server/lib/setup/README.md rename to x-pack/plugins/observability_solution/profiling/server/lib/setup/README.md diff --git a/x-pack/plugins/profiling/server/lib/setup/cluster_settings.ts b/x-pack/plugins/observability_solution/profiling/server/lib/setup/cluster_settings.ts similarity index 100% rename from x-pack/plugins/profiling/server/lib/setup/cluster_settings.ts rename to x-pack/plugins/observability_solution/profiling/server/lib/setup/cluster_settings.ts diff --git a/x-pack/plugins/profiling/server/lib/setup/fleet_policies.test.ts b/x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.test.ts similarity index 100% rename from x-pack/plugins/profiling/server/lib/setup/fleet_policies.test.ts rename to x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.test.ts diff --git a/x-pack/plugins/profiling/server/lib/setup/fleet_policies.ts b/x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.ts similarity index 100% rename from x-pack/plugins/profiling/server/lib/setup/fleet_policies.ts rename to x-pack/plugins/observability_solution/profiling/server/lib/setup/fleet_policies.ts diff --git a/x-pack/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts b/x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts similarity index 100% rename from x-pack/plugins/profiling/server/lib/setup/get_has_setup_privileges.ts rename to x-pack/plugins/observability_solution/profiling/server/lib/setup/get_has_setup_privileges.ts diff --git a/x-pack/plugins/profiling/server/lib/setup/types.ts b/x-pack/plugins/observability_solution/profiling/server/lib/setup/types.ts similarity index 100% rename from x-pack/plugins/profiling/server/lib/setup/types.ts rename to x-pack/plugins/observability_solution/profiling/server/lib/setup/types.ts diff --git a/x-pack/plugins/profiling/server/plugin.ts b/x-pack/plugins/observability_solution/profiling/server/plugin.ts similarity index 100% rename from x-pack/plugins/profiling/server/plugin.ts rename to x-pack/plugins/observability_solution/profiling/server/plugin.ts diff --git a/x-pack/plugins/profiling/server/routes/compat.ts b/x-pack/plugins/observability_solution/profiling/server/routes/compat.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/compat.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/compat.ts diff --git a/x-pack/plugins/profiling/server/routes/downsampling.test.ts b/x-pack/plugins/observability_solution/profiling/server/routes/downsampling.test.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/downsampling.test.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/downsampling.test.ts diff --git a/x-pack/plugins/profiling/server/routes/downsampling.ts b/x-pack/plugins/observability_solution/profiling/server/routes/downsampling.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/downsampling.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/downsampling.ts diff --git a/x-pack/plugins/profiling/server/routes/flamechart.ts b/x-pack/plugins/observability_solution/profiling/server/routes/flamechart.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/flamechart.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/flamechart.ts diff --git a/x-pack/plugins/profiling/server/routes/functions.ts b/x-pack/plugins/observability_solution/profiling/server/routes/functions.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/functions.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/functions.ts diff --git a/x-pack/plugins/profiling/server/routes/index.ts b/x-pack/plugins/observability_solution/profiling/server/routes/index.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/index.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/index.ts diff --git a/x-pack/plugins/profiling/server/routes/query.ts b/x-pack/plugins/observability_solution/profiling/server/routes/query.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/query.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/query.ts diff --git a/x-pack/plugins/profiling/server/routes/search_stacktraces.ts b/x-pack/plugins/observability_solution/profiling/server/routes/search_stacktraces.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/search_stacktraces.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/search_stacktraces.ts diff --git a/x-pack/plugins/profiling/server/routes/setup/get_cloud_setup_instructions.ts b/x-pack/plugins/observability_solution/profiling/server/routes/setup/get_cloud_setup_instructions.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/setup/get_cloud_setup_instructions.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/setup/get_cloud_setup_instructions.ts diff --git a/x-pack/plugins/profiling/server/routes/setup/get_self_managed_instructions.ts b/x-pack/plugins/observability_solution/profiling/server/routes/setup/get_self_managed_instructions.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/setup/get_self_managed_instructions.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/setup/get_self_managed_instructions.ts diff --git a/x-pack/plugins/profiling/server/routes/setup/route.ts b/x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/setup/route.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/setup/route.ts diff --git a/x-pack/plugins/profiling/server/routes/setup/setup_cloud.ts b/x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_cloud.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/setup/setup_cloud.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_cloud.ts diff --git a/x-pack/plugins/profiling/server/routes/setup/setup_self_managed.ts b/x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_self_managed.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/setup/setup_self_managed.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/setup/setup_self_managed.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_daily_data_generation.size.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_breakdown_size_timeseries.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_host_details.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_details.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_host_details.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_details.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_host_distinct_probabilistic_count.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_indices_stats.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_indices_stats.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_indices_stats.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_indices_stats.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_profiling_hosts_details_by_id.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_grouped_by_index.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/get_storage_details_per_index.ts diff --git a/x-pack/plugins/profiling/server/routes/storage_explorer/route.ts b/x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/storage_explorer/route.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/storage_explorer/route.ts diff --git a/x-pack/plugins/profiling/server/routes/topn.test.ts b/x-pack/plugins/observability_solution/profiling/server/routes/topn.test.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/topn.test.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/topn.test.ts diff --git a/x-pack/plugins/profiling/server/routes/topn.ts b/x-pack/plugins/observability_solution/profiling/server/routes/topn.ts similarity index 100% rename from x-pack/plugins/profiling/server/routes/topn.ts rename to x-pack/plugins/observability_solution/profiling/server/routes/topn.ts diff --git a/x-pack/plugins/profiling/server/types.ts b/x-pack/plugins/observability_solution/profiling/server/types.ts similarity index 100% rename from x-pack/plugins/profiling/server/types.ts rename to x-pack/plugins/observability_solution/profiling/server/types.ts diff --git a/x-pack/plugins/profiling/server/utils/create_profiling_es_client.ts b/x-pack/plugins/observability_solution/profiling/server/utils/create_profiling_es_client.ts similarity index 100% rename from x-pack/plugins/profiling/server/utils/create_profiling_es_client.ts rename to x-pack/plugins/observability_solution/profiling/server/utils/create_profiling_es_client.ts diff --git a/x-pack/plugins/profiling/server/utils/handle_route_error_handler.ts b/x-pack/plugins/observability_solution/profiling/server/utils/handle_route_error_handler.ts similarity index 100% rename from x-pack/plugins/profiling/server/utils/handle_route_error_handler.ts rename to x-pack/plugins/observability_solution/profiling/server/utils/handle_route_error_handler.ts diff --git a/x-pack/plugins/profiling/server/utils/with_profiling_span.ts b/x-pack/plugins/observability_solution/profiling/server/utils/with_profiling_span.ts similarity index 100% rename from x-pack/plugins/profiling/server/utils/with_profiling_span.ts rename to x-pack/plugins/observability_solution/profiling/server/utils/with_profiling_span.ts diff --git a/x-pack/plugins/profiling/tsconfig.json b/x-pack/plugins/observability_solution/profiling/tsconfig.json similarity index 96% rename from x-pack/plugins/profiling/tsconfig.json rename to x-pack/plugins/observability_solution/profiling/tsconfig.json index 2bd2219af39d6e..4ea3e81e406578 100644 --- a/x-pack/plugins/profiling/tsconfig.json +++ b/x-pack/plugins/observability_solution/profiling/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, @@ -73,7 +73,5 @@ // "@kbn/infra-plugin", // "@kbn/kibana-utils-plugin", ], - "exclude": [ - "target/**/*" - ] + "exclude": ["target/**/*"] } diff --git a/x-pack/plugins/profiling_data_access/.i18nrc.json b/x-pack/plugins/observability_solution/profiling_data_access/.i18nrc.json similarity index 100% rename from x-pack/plugins/profiling_data_access/.i18nrc.json rename to x-pack/plugins/observability_solution/profiling_data_access/.i18nrc.json diff --git a/x-pack/plugins/profiling_data_access/common/cloud_setup.test.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.test.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/cloud_setup.test.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.test.ts diff --git a/x-pack/plugins/profiling_data_access/common/cloud_setup.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/cloud_setup.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/cloud_setup.ts diff --git a/x-pack/plugins/profiling_data_access/common/cluster_settings.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/cluster_settings.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/cluster_settings.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/cluster_settings.ts diff --git a/x-pack/plugins/profiling_data_access/common/fleet_policies.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/fleet_policies.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/fleet_policies.ts diff --git a/x-pack/plugins/profiling_data_access/common/get_apm_policy.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/get_apm_policy.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/get_apm_policy.ts diff --git a/x-pack/plugins/profiling_data_access/common/has_profiling_data.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/has_profiling_data.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/has_profiling_data.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/has_profiling_data.ts diff --git a/x-pack/plugins/profiling_data_access/common/index.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/index.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/index.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/index.ts diff --git a/x-pack/plugins/profiling_data_access/common/profiling_es_client.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/profiling_es_client.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/profiling_es_client.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/profiling_es_client.ts diff --git a/x-pack/plugins/profiling_data_access/common/setup.test.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/setup.test.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/setup.test.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/setup.test.ts diff --git a/x-pack/plugins/profiling_data_access/common/setup.ts b/x-pack/plugins/observability_solution/profiling_data_access/common/setup.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/common/setup.ts rename to x-pack/plugins/observability_solution/profiling_data_access/common/setup.ts diff --git a/x-pack/plugins/profiling_data_access/jest.config.js b/x-pack/plugins/observability_solution/profiling_data_access/jest.config.js similarity index 70% rename from x-pack/plugins/profiling_data_access/jest.config.js rename to x-pack/plugins/observability_solution/profiling_data_access/jest.config.js index c87c047a5ea737..4f4a7c2e322028 100644 --- a/x-pack/plugins/profiling_data_access/jest.config.js +++ b/x-pack/plugins/observability_solution/profiling_data_access/jest.config.js @@ -9,6 +9,6 @@ const path = require('path'); module.exports = { preset: '@kbn/test', - rootDir: path.resolve(__dirname, '../../..'), - roots: ['/x-pack/plugins/profiling_data_access'], + rootDir: path.resolve(__dirname, '../../../..'), + roots: ['/x-pack/plugins/observability_solution/profiling_data_access'], }; diff --git a/x-pack/plugins/profiling_data_access/kibana.jsonc b/x-pack/plugins/observability_solution/profiling_data_access/kibana.jsonc similarity index 100% rename from x-pack/plugins/profiling_data_access/kibana.jsonc rename to x-pack/plugins/observability_solution/profiling_data_access/kibana.jsonc diff --git a/x-pack/plugins/profiling_data_access/server/index.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/index.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/index.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/index.ts diff --git a/x-pack/plugins/profiling_data_access/server/plugin.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/plugin.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/plugin.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/fetch_flamechart/index.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/fetch_flamechart/index.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/fetch_flamechart/index.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/fetch_flamechart/index.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/functions/index.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/functions/index.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/functions/index.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/functions/index.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/register_services.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/register_services.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/register_services.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/register_services.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/search_stack_traces/index.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/search_stack_traces/index.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/search_stack_traces/index.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/search_stack_traces/index.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/setup_state/cloud_setup_state.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/cloud_setup_state.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/setup_state/cloud_setup_state.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/cloud_setup_state.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/setup_state/index.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/index.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/setup_state/index.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/index.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/setup_state/self_managed_setup_state.ts diff --git a/x-pack/plugins/profiling_data_access/server/services/status/index.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/services/status/index.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/services/status/index.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/services/status/index.ts diff --git a/x-pack/plugins/profiling_data_access/server/types.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/types.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/types.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/types.ts diff --git a/x-pack/plugins/profiling_data_access/server/utils/create_profiling_es_client.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/utils/create_profiling_es_client.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/utils/create_profiling_es_client.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/utils/create_profiling_es_client.ts diff --git a/x-pack/plugins/profiling_data_access/server/utils/percent_to_factor.test.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.test.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/utils/percent_to_factor.test.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.test.ts diff --git a/x-pack/plugins/profiling_data_access/server/utils/percent_to_factor.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/utils/percent_to_factor.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/utils/percent_to_factor.ts diff --git a/x-pack/plugins/profiling_data_access/server/utils/query.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/utils/query.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/utils/query.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/utils/query.ts diff --git a/x-pack/plugins/profiling_data_access/server/utils/unwrap_es_response.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/utils/unwrap_es_response.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/utils/unwrap_es_response.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/utils/unwrap_es_response.ts diff --git a/x-pack/plugins/profiling_data_access/server/utils/with_profiling_span.ts b/x-pack/plugins/observability_solution/profiling_data_access/server/utils/with_profiling_span.ts similarity index 100% rename from x-pack/plugins/profiling_data_access/server/utils/with_profiling_span.ts rename to x-pack/plugins/observability_solution/profiling_data_access/server/utils/with_profiling_span.ts diff --git a/x-pack/plugins/profiling_data_access/tsconfig.json b/x-pack/plugins/observability_solution/profiling_data_access/tsconfig.json similarity index 60% rename from x-pack/plugins/profiling_data_access/tsconfig.json rename to x-pack/plugins/observability_solution/profiling_data_access/tsconfig.json index 456e83d4a9fa90..13b1853493e3ef 100644 --- a/x-pack/plugins/profiling_data_access/tsconfig.json +++ b/x-pack/plugins/observability_solution/profiling_data_access/tsconfig.json @@ -1,16 +1,10 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types" }, - "include": [ - "common/**/*", - "server/**/*", - "jest.config.js" - ], - "exclude": [ - "target/**/*" - ], + "include": ["common/**/*", "server/**/*", "jest.config.js"], + "exclude": ["target/**/*"], "kbn_references": [ "@kbn/config-schema", "@kbn/core", @@ -21,6 +15,6 @@ "@kbn/fleet-plugin", "@kbn/cloud-plugin", "@kbn/spaces-plugin", - "@kbn/observability-plugin", + "@kbn/observability-plugin" ] } diff --git a/x-pack/plugins/profiling/jest.config.js b/x-pack/plugins/profiling/jest.config.js deleted file mode 100644 index 783ace59b9b3d6..00000000000000 --- a/x-pack/plugins/profiling/jest.config.js +++ /dev/null @@ -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; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/profiling'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/profiling', - coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/plugins/profiling/{common,public,server}/**/*.{ts,tsx}'], -}; diff --git a/yarn.lock b/yarn.lock index 52d63049fb700a..5e94699c840952 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5468,11 +5468,11 @@ version "0.0.0" uid "" -"@kbn/profiling-data-access-plugin@link:x-pack/plugins/profiling_data_access": +"@kbn/profiling-data-access-plugin@link:x-pack/plugins/observability_solution/profiling_data_access": version "0.0.0" uid "" -"@kbn/profiling-plugin@link:x-pack/plugins/profiling": +"@kbn/profiling-plugin@link:x-pack/plugins/observability_solution/profiling": version "0.0.0" uid ""