diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3296499e25355..c62b8c0277cfa 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -847,6 +847,8 @@ x-pack/platform/plugins/private/grokdebugger @elastic/kibana-management x-pack/platform/plugins/private/index_lifecycle_management @elastic/kibana-management x-pack/platform/plugins/private/license_api_guard @elastic/kibana-management x-pack/platform/plugins/private/logstash @elastic/logstash +x-pack/platform/plugins/private/monitoring @elastic/stack-monitoring +x-pack/platform/plugins/private/monitoring_collection @elastic/stack-monitoring x-pack/platform/plugins/private/painless_lab @elastic/kibana-management x-pack/platform/plugins/private/remote_clusters @elastic/kibana-management x-pack/platform/plugins/private/rollup @elastic/kibana-management @@ -900,8 +902,6 @@ x-pack/plugins/global_search_providers @elastic/appex-sharedux x-pack/plugins/graph @elastic/kibana-visualizations x-pack/plugins/lens @elastic/kibana-visualizations x-pack/plugins/licensing @elastic/kibana-core -x-pack/plugins/monitoring @elastic/stack-monitoring -x-pack/plugins/monitoring_collection @elastic/stack-monitoring x-pack/plugins/notifications @elastic/appex-sharedux x-pack/plugins/observability_solution/apm @elastic/obs-ux-infra_services-team x-pack/plugins/observability_solution/apm_data_access @elastic/obs-ux-infra_services-team @@ -2544,7 +2544,7 @@ x-pack/solutions/security/plugins/security_solution/server/lib/security_integrat # Observability design /x-pack/plugins/fleet/**/*.scss @elastic/observability-design -/x-pack/plugins/monitoring/**/*.scss @elastic/observability-design +/x-pack/platform/plugins/private/monitoring/**/*.scss @elastic/observability-design # Ent. Search design /x-pack/plugins/enterprise_search/**/*.scss @elastic/search-design diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index fca166dee22ea..4d92984925ff8 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -728,11 +728,11 @@ using the CURL scripts in the scripts folder. Elastic. -|{kib-repo}blob/{branch}/x-pack/plugins/monitoring/readme.md[monitoring] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/monitoring/readme.md[monitoring] |This plugin provides the Stack Monitoring kibana application. -|{kib-repo}blob/{branch}/x-pack/plugins/monitoring_collection/README.md[monitoringCollection] +|{kib-repo}blob/{branch}/x-pack/platform/plugins/private/monitoring_collection/README.md[monitoringCollection] |This plugin allows for other plugins to add data to Kibana stack monitoring documents. diff --git a/package.json b/package.json index 706e8d7c7e689..639f00e673156 100644 --- a/package.json +++ b/package.json @@ -682,8 +682,8 @@ "@kbn/ml-url-state": "link:x-pack/platform/packages/private/ml/url_state", "@kbn/ml-validators": "link:x-pack/platform/packages/private/ml/validators", "@kbn/monaco": "link:packages/kbn-monaco", - "@kbn/monitoring-collection-plugin": "link:x-pack/plugins/monitoring_collection", - "@kbn/monitoring-plugin": "link:x-pack/plugins/monitoring", + "@kbn/monitoring-collection-plugin": "link:x-pack/platform/plugins/private/monitoring_collection", + "@kbn/monitoring-plugin": "link:x-pack/platform/plugins/private/monitoring", "@kbn/navigation-plugin": "link:src/plugins/navigation", "@kbn/newsfeed-plugin": "link:src/plugins/newsfeed", "@kbn/newsfeed-test-plugin": "link:test/common/plugins/newsfeed", diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 5a5db4e8599f9..cb0a12e389a5d 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -30,7 +30,7 @@ export const IGNORE_FILE_GLOBS = [ 'x-pack/platform/plugins/private/canvas/canvas_plugin_src/**/*', 'x-pack/platform/plugins/private/canvas/server/templates/assets/*.{png,jpg,svg}', 'x-pack/plugins/cases/docs/**/*', - 'x-pack/plugins/monitoring/public/lib/jquery_flot/**/*', + 'x-pack/platform/plugins/private/monitoring/public/lib/jquery_flot/**/*', 'x-pack/plugins/fleet/cypress/packages/*.zip', '**/apm-diagnostics-*.json', '**/.*', @@ -178,10 +178,10 @@ export const TEMPORARILY_IGNORED_PATHS = [ 'test/functional/apps/management/exports/_import_objects-conflicts.json', 'x-pack/legacy/platform/plugins/shared/index_management/public/lib/editSettings.js', 'x-pack/legacy/platform/plugins/shared/license_management/public/store/reducers/licenseManagement.js', - 'x-pack/plugins/monitoring/public/icons/health-gray.svg', - 'x-pack/plugins/monitoring/public/icons/health-green.svg', - 'x-pack/plugins/monitoring/public/icons/health-red.svg', - 'x-pack/plugins/monitoring/public/icons/health-yellow.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg', + 'x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/noto/NotoSansCJKtc-Medium.ttf', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/noto/NotoSansCJKtc-Regular.ttf', 'x-pack/platform/plugins/shared/screenshotting/server/assets/fonts/roboto/Roboto-Italic.ttf', diff --git a/tsconfig.base.json b/tsconfig.base.json index 1e2b45e128eb7..3626a1f694b08 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1298,10 +1298,10 @@ "@kbn/mock-idp-utils/*": ["packages/kbn-mock-idp-utils/*"], "@kbn/monaco": ["packages/kbn-monaco"], "@kbn/monaco/*": ["packages/kbn-monaco/*"], - "@kbn/monitoring-collection-plugin": ["x-pack/plugins/monitoring_collection"], - "@kbn/monitoring-collection-plugin/*": ["x-pack/plugins/monitoring_collection/*"], - "@kbn/monitoring-plugin": ["x-pack/plugins/monitoring"], - "@kbn/monitoring-plugin/*": ["x-pack/plugins/monitoring/*"], + "@kbn/monitoring-collection-plugin": ["x-pack/platform/plugins/private/monitoring_collection"], + "@kbn/monitoring-collection-plugin/*": ["x-pack/platform/plugins/private/monitoring_collection/*"], + "@kbn/monitoring-plugin": ["x-pack/platform/plugins/private/monitoring"], + "@kbn/monitoring-plugin/*": ["x-pack/platform/plugins/private/monitoring/*"], "@kbn/navigation-plugin": ["src/plugins/navigation"], "@kbn/navigation-plugin/*": ["src/plugins/navigation/*"], "@kbn/newsfeed-plugin": ["src/plugins/newsfeed"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index f964bf380f2a2..8feb16e470338 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -98,7 +98,7 @@ "platform/plugins/shared/ml" ], "xpack.monitoring": [ - "plugins/monitoring" + "platform/plugins/private/monitoring" ], "xpack.observability": "solutions/observability/plugins/observability", "xpack.observabilityAiAssistant": [ diff --git a/x-pack/.telemetryrc.json b/x-pack/.telemetryrc.json index 51abf578ae5f5..870b4d1de4c6a 100644 --- a/x-pack/.telemetryrc.json +++ b/x-pack/.telemetryrc.json @@ -3,12 +3,12 @@ "output": "plugins/telemetry_collection_xpack/schema/xpack_plugins.json", "root": "plugins/", "exclude": [ - "plugins/monitoring/server/telemetry_collection/" + "platform/plugins/private/monitoring/server/telemetry_collection/" ] }, { "output": "plugins/telemetry_collection_xpack/schema/xpack_monitoring.json", - "root": "plugins/monitoring/server/telemetry_collection/", + "root": "platform/plugins/private/monitoring/server/telemetry_collection/", "exclude": [] }, { diff --git a/x-pack/plugins/monitoring/common/cancel_promise.ts b/x-pack/platform/plugins/private/monitoring/common/cancel_promise.ts similarity index 100% rename from x-pack/plugins/monitoring/common/cancel_promise.ts rename to x-pack/platform/plugins/private/monitoring/common/cancel_promise.ts diff --git a/x-pack/plugins/monitoring/common/ccs_utils.test.js b/x-pack/platform/plugins/private/monitoring/common/ccs_utils.test.js similarity index 100% rename from x-pack/plugins/monitoring/common/ccs_utils.test.js rename to x-pack/platform/plugins/private/monitoring/common/ccs_utils.test.js diff --git a/x-pack/plugins/monitoring/common/ccs_utils.ts b/x-pack/platform/plugins/private/monitoring/common/ccs_utils.ts similarity index 100% rename from x-pack/plugins/monitoring/common/ccs_utils.ts rename to x-pack/platform/plugins/private/monitoring/common/ccs_utils.ts diff --git a/x-pack/plugins/monitoring/common/constants.ts b/x-pack/platform/plugins/private/monitoring/common/constants.ts similarity index 100% rename from x-pack/plugins/monitoring/common/constants.ts rename to x-pack/platform/plugins/private/monitoring/common/constants.ts diff --git a/x-pack/plugins/monitoring/common/enums.ts b/x-pack/platform/plugins/private/monitoring/common/enums.ts similarity index 100% rename from x-pack/plugins/monitoring/common/enums.ts rename to x-pack/platform/plugins/private/monitoring/common/enums.ts diff --git a/x-pack/plugins/monitoring/common/es_glob_patterns.test.ts b/x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/es_glob_patterns.test.ts rename to x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.test.ts diff --git a/x-pack/plugins/monitoring/common/es_glob_patterns.ts b/x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.ts similarity index 100% rename from x-pack/plugins/monitoring/common/es_glob_patterns.ts rename to x-pack/platform/plugins/private/monitoring/common/es_glob_patterns.ts diff --git a/x-pack/plugins/monitoring/common/format_timestamp_to_duration.js b/x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js similarity index 100% rename from x-pack/plugins/monitoring/common/format_timestamp_to_duration.js rename to x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.js diff --git a/x-pack/plugins/monitoring/common/format_timestamp_to_duration.test.js b/x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.test.js similarity index 100% rename from x-pack/plugins/monitoring/common/format_timestamp_to_duration.test.js rename to x-pack/platform/plugins/private/monitoring/common/format_timestamp_to_duration.test.js diff --git a/x-pack/plugins/monitoring/common/formatting.ts b/x-pack/platform/plugins/private/monitoring/common/formatting.ts similarity index 100% rename from x-pack/plugins/monitoring/common/formatting.ts rename to x-pack/platform/plugins/private/monitoring/common/formatting.ts diff --git a/x-pack/plugins/monitoring/common/get_index_patterns.test.ts b/x-pack/platform/plugins/private/monitoring/common/get_index_patterns.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/get_index_patterns.test.ts rename to x-pack/platform/plugins/private/monitoring/common/get_index_patterns.test.ts diff --git a/x-pack/plugins/monitoring/common/get_index_patterns.ts b/x-pack/platform/plugins/private/monitoring/common/get_index_patterns.ts similarity index 100% rename from x-pack/plugins/monitoring/common/get_index_patterns.ts rename to x-pack/platform/plugins/private/monitoring/common/get_index_patterns.ts diff --git a/x-pack/plugins/monitoring/common/http_api/_health/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/_health/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/_health/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/_health/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_instance.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_instance.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instance.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_instances.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instances.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_instances.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_instances.ts diff --git a/x-pack/plugins/monitoring/common/http_api/apm/post_apm_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/apm/post_apm_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/apm/post_apm_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beat_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beat_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beat_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beat_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beats_listing.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_listing.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beats_listing.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_listing.ts diff --git a/x-pack/plugins/monitoring/common/http_api/beats/post_beats_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/beats/post_beats_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/beats/post_beats_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/post_cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/post_cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/cluster/post_clusters.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/cluster/post_clusters.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/cluster/post_clusters.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ccr_shard.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_index_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_indices.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_ml_jobs.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_node_detail.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch/post_elasticsearch_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/get_elasticsearch_settings_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/post_elasticsearch_settings_internal_monitoring.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_enabled.ts diff --git a/x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/elasticsearch_settings/put_elasticsearch_settings_collection_interval.ts diff --git a/x-pack/plugins/monitoring/common/http_api/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/enterprise_search/post_enterprise_search_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instance.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instance.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instance.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instances.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instances.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_instances.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_instances.ts diff --git a/x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/kibana/post_kibana_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/kibana/post_kibana_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_cluster_pipelines.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_node_pipelines.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_nodes.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_nodes.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_nodes.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_overview.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_overview.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_overview.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline.ts diff --git a/x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/logstash/post_logstash_pipeline_cluster_ids.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_cluster_setup_status.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_cluster_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_cluster_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_cluster_setup_status.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_disable_internal_collection.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_disable_internal_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_disable_internal_collection.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_disable_internal_collection.ts diff --git a/x-pack/plugins/monitoring/common/http_api/setup/post_node_setup_status.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_node_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/setup/post_node_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/setup/post_node_setup_status.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/ccs.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/ccs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/ccs.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/ccs.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/cluster.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/cluster.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/cluster.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/index.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/index.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/index.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/pagination.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/pagination.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/pagination.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/pagination.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.test.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.test.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.test.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_boolean.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_boolean.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_number.test.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.test.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_number.test.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.test.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/query_string_number.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/query_string_number.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/query_string_number.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/sorting.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/sorting.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/sorting.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/sorting.ts diff --git a/x-pack/plugins/monitoring/common/http_api/shared/time_range.ts b/x-pack/platform/plugins/private/monitoring/common/http_api/shared/time_range.ts similarity index 100% rename from x-pack/plugins/monitoring/common/http_api/shared/time_range.ts rename to x-pack/platform/plugins/private/monitoring/common/http_api/shared/time_range.ts diff --git a/x-pack/plugins/monitoring/common/index.ts b/x-pack/platform/plugins/private/monitoring/common/index.ts similarity index 100% rename from x-pack/plugins/monitoring/common/index.ts rename to x-pack/platform/plugins/private/monitoring/common/index.ts diff --git a/x-pack/plugins/monitoring/common/runtime_types.ts b/x-pack/platform/plugins/private/monitoring/common/runtime_types.ts similarity index 100% rename from x-pack/plugins/monitoring/common/runtime_types.ts rename to x-pack/platform/plugins/private/monitoring/common/runtime_types.ts diff --git a/x-pack/plugins/monitoring/common/types/alerts.ts b/x-pack/platform/plugins/private/monitoring/common/types/alerts.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/alerts.ts rename to x-pack/platform/plugins/private/monitoring/common/types/alerts.ts diff --git a/x-pack/plugins/monitoring/common/types/es.ts b/x-pack/platform/plugins/private/monitoring/common/types/es.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/es.ts rename to x-pack/platform/plugins/private/monitoring/common/types/es.ts diff --git a/x-pack/plugins/monitoring/common/types/logs.ts b/x-pack/platform/plugins/private/monitoring/common/types/logs.ts similarity index 100% rename from x-pack/plugins/monitoring/common/types/logs.ts rename to x-pack/platform/plugins/private/monitoring/common/types/logs.ts diff --git a/x-pack/plugins/monitoring/common/validate_duration.ts b/x-pack/platform/plugins/private/monitoring/common/validate_duration.ts similarity index 100% rename from x-pack/plugins/monitoring/common/validate_duration.ts rename to x-pack/platform/plugins/private/monitoring/common/validate_duration.ts diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/apm_tracing.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/apm_tracing.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/apm_tracing.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/apm_tracing.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/cloud_setup.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/cloud_setup.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/cloud_setup.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/cloud_setup.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md similarity index 94% rename from x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md index d6988cc7d5987..f4576a746125b 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/debug_logging.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/debug_logging.md @@ -1,6 +1,6 @@ When diagnosing issues with UI or alert errors, it can be useful to know the exact query being sent by kibana to elasticsearch. -Rules should have a `fetchData` setup [like this one](/x-pack/plugins/monitoring/server/alerts/nodes_changed_rule.ts#L96). Tracing down will get you to `fetchNodesFromClusterStats`. +Rules should have a `fetchData` setup [like this one](/x-pack/platform/plugins/private/monitoring/server/alerts/nodes_changed_rule.ts#L96). Tracing down will get you to `fetchNodesFromClusterStats`. Just before the `esClient.search` call you can log out the query parameters using something like: diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md similarity index 87% rename from x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md index 4e1b67ddd612e..5b3f9898b166d 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/local_setup.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/local_setup.md @@ -49,7 +49,7 @@ docker run --name metricbeat \ --pull always --rm \ --hostname=metricbeat \ --publish=5066:5066 \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml:/usr/share/metricbeat/metricbeat.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml:/usr/share/metricbeat/metricbeat.yml:ro" \ docker.elastic.co/beats/metricbeat:master-SNAPSHOT ``` @@ -65,7 +65,7 @@ docker run --name filebeat \ --hostname=filebeat \ --publish=5067:5067 \ --volume="$(pwd)/.es:/es:ro" \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml:/usr/share/filebeat/filebeat.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml:/usr/share/filebeat/filebeat.yml:ro" \ docker.elastic.co/beats/filebeat:master-SNAPSHOT ``` @@ -80,8 +80,8 @@ docker run --name logstash \ --pull always --rm \ --hostname=logstash \ --publish=9600:9600 \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/logstash.yml:/usr/share/logstash/config/logstash.yml:ro" \ - --volume="$(pwd)/x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml:/usr/share/logstash/config/pipelines.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml:/usr/share/logstash/config/logstash.yml:ro" \ + --volume="$(pwd)/x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml:/usr/share/logstash/config/pipelines.yml:ro" \ docker.elastic.co/logstash/logstash:master-SNAPSHOT ``` diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/running_components_from_source.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/running_components_from_source.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/running_components_from_source.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md similarity index 74% rename from x-pack/plugins/monitoring/dev_docs/how_to/testing.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md index 75f16b1aab05c..937d6753fb8fa 100644 --- a/x-pack/plugins/monitoring/dev_docs/how_to/testing.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/testing.md @@ -4,7 +4,7 @@ See the [Kibana Testing guide](https://www.elastic.co/guide/en/kibana/master/dev We mainly use: 1. Jest unit tests - located in sibling files to the source code -2. [api_integration tests](../../../../test/api_integration/apis/monitoring) -3. [functional tests](../../../../test/functional/apps/monitoring) +2. [api_integration tests](../../../../../../test/api_integration/apis/monitoring) +3. [functional tests](../../../../../../test/functional/apps/monitoring) The functional and api integration tests are both under a 'Monitoring' description, so you can use `--grep Monitoring` to run only our tests. \ No newline at end of file diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/version_compatibility.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/version_compatibility.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/version_compatibility.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/version_compatibility.md diff --git a/x-pack/plugins/monitoring/dev_docs/how_to/work_with_packages.md b/x-pack/platform/plugins/private/monitoring/dev_docs/how_to/work_with_packages.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/how_to/work_with_packages.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/how_to/work_with_packages.md diff --git a/x-pack/plugins/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png b/x-pack/platform/plugins/private/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png rename to x-pack/platform/plugins/private/monitoring/dev_docs/images/ec_logs_and_metrics_configuration.png diff --git a/x-pack/plugins/monitoring/dev_docs/images/ek_internal_collection_overview.png b/x-pack/platform/plugins/private/monitoring/dev_docs/images/ek_internal_collection_overview.png similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/images/ek_internal_collection_overview.png rename to x-pack/platform/plugins/private/monitoring/dev_docs/images/ek_internal_collection_overview.png diff --git a/x-pack/plugins/monitoring/dev_docs/reference/architectural_overview.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/architectural_overview.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/architectural_overview.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/architectural_overview.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md similarity index 98% rename from x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md index ea585fda0306e..dca58cb3daea3 100644 --- a/x-pack/plugins/monitoring/dev_docs/reference/data_collection_modes.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/data_collection_modes.md @@ -38,7 +38,7 @@ subgraph Kibana click Collectors "https://github.com/elastic/kibana/tree/main/src/core/server/metrics/collectors" click OpsMetricsObservable "https://github.com/elastic/kibana/blob/92a8636f0ff63ab072527574e96e6616327b2ea4/src/core/server/metrics/metrics_service.ts#L32" - click BulkUploader "https://github.com/elastic/kibana/blob/main/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts" + click BulkUploader "https://github.com/elastic/kibana/blob/main/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts" end BulkUploader-->|/_monitoring/bulk|ProdElasticsearch diff --git a/x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/filebeat.yarn.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/filebeat.yarn.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/indices.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/indices.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/indices.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/indices.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/logstash.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/logstash.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/logstash.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/metricbeat.yarn.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/metricbeat.yarn.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/pipelines.yml rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/pipelines.yml diff --git a/x-pack/plugins/monitoring/dev_docs/reference/rules_alerts.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/rules_alerts.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/rules_alerts.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/rules_alerts.md diff --git a/x-pack/plugins/monitoring/dev_docs/reference/terminology.md b/x-pack/platform/plugins/private/monitoring/dev_docs/reference/terminology.md similarity index 100% rename from x-pack/plugins/monitoring/dev_docs/reference/terminology.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/reference/terminology.md diff --git a/x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md similarity index 81% rename from x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md index 7f8ee8de1c1e5..3d85ddcded998 100644 --- a/x-pack/plugins/monitoring/dev_docs/runbook/cpu_metrics.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/cpu_metrics.md @@ -6,9 +6,9 @@ When trying to debug why a CPU metric doesn't look the way you expect it to in a At the time of writing, the code path to get from a system level CPU metric to a utilization percentage looks like this: -1. `node_cpu_metric` set to `node_cgroup_quota_as_cpu_utilization` when cgroup is enabled: [node_detail.js](/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.js#L61-65) -1. `node_cgroup_quota_as_cpu_utilization` defined as a `QuotaMetric` against `cpu.cfs_quota_micros`: [metrics.ts](/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts#L798-801) -1. `QuotaMetric` tries to produce a ratio of usage to quota, but returns null when quota isn't a positive number: [quota_metric.ts](/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts#L79-80) +1. `node_cpu_metric` set to `node_cgroup_quota_as_cpu_utilization` when cgroup is enabled: [node_detail.js](/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.js#L61-65) +1. `node_cgroup_quota_as_cpu_utilization` defined as a `QuotaMetric` against `cpu.cfs_quota_micros`: [metrics.ts](/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts#L798-801) +1. `QuotaMetric` tries to produce a ratio of usage to quota, but returns null when quota isn't a positive number: [quota_metric.ts](/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts#L79-80) So it's important to be aware of the `monitoring.ui.container.elasticsearch.enabled` setting, which defaults to `true` on cloud.elastic.co. diff --git a/x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md similarity index 94% rename from x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md rename to x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md index 04653d84c6b8b..1538044d9b2a4 100644 --- a/x-pack/plugins/monitoring/dev_docs/runbook/diagnostic_queries.md +++ b/x-pack/platform/plugins/private/monitoring/dev_docs/runbook/diagnostic_queries.md @@ -1,6 +1,6 @@ If the stack monitoring UI isn't showing data for any cluster or missing key metrics, it may first be useful to survey the available data. -If troubleshooting a cluster with a version >= 8.3.1, the [Stack Monitoring health API](https://github.com/elastic/kibana/tree/main/x-pack/plugins/monitoring/server/routes/api/v1/_health) is the recommended way to get an overview of the available data and possible metrics collection issues. +If troubleshooting a cluster with a version >= 8.3.1, the [Stack Monitoring health API](https://github.com/elastic/kibana/tree/main/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health) is the recommended way to get an overview of the available data and possible metrics collection issues. The API is included in the [support-diagnostics utility](https://github.com/elastic/support-diagnostics) so if a bundle is provided in the issue you're working on, the API response would already be available in `kibana_stack_monitoring_health.json`. Otherwise, one can ask for the API response instead of the raw queries. If troubleshooting an older version, the following queries would be good starters: diff --git a/x-pack/plugins/monitoring/jest.config.js b/x-pack/platform/plugins/private/monitoring/jest.config.js similarity index 54% rename from x-pack/plugins/monitoring/jest.config.js rename to x-pack/platform/plugins/private/monitoring/jest.config.js index 772b1ff1e5810..31c593b40a0a0 100644 --- a/x-pack/plugins/monitoring/jest.config.js +++ b/x-pack/platform/plugins/private/monitoring/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/monitoring'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/monitoring', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/monitoring'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/monitoring', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/monitoring/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/private/monitoring/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/monitoring/kibana.jsonc b/x-pack/platform/plugins/private/monitoring/kibana.jsonc similarity index 100% rename from x-pack/plugins/monitoring/kibana.jsonc rename to x-pack/platform/plugins/private/monitoring/kibana.jsonc diff --git a/x-pack/plugins/monitoring/public/alerts/alert_form.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/alert_form.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/alert_form.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/alert_form.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/alerts_dropdown.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/alerts_dropdown.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/alerts_dropdown.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/badge.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/badge.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/badge.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/badge.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/callout.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/callout.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/callout.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/callout.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/ccr_read_exceptions_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/use_derived_index_pattern.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/validation.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/components/param_details_form/validation.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/components/param_details_form/validation.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/configuration.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/configuration.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/configuration.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/configuration.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/context.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/context.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/context.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/context.ts diff --git a/x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/cpu_usage_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/cpu_usage_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/cpu_usage_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/disk_usage_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/disk_usage_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/disk_usage_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/disk_usage_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/enable_alerts_modal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/enable_alerts_modal.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/enable_alerts_modal.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_duration.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_number.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_percentage.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/flyout_expressions/alert_param_textfield.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/large_shard_size_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/large_shard_size_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/large_shard_size_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/large_shard_size_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/legacy_alert/legacy_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/legacy_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/legacy_alert/legacy_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/legacy_alert/legacy_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_category.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/__snapshots__/get_alert_panels_by_node.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/alerts/lib/alerts_toast.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/alerts_toast.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/alerts_toast.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/alerts_toast.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_category.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.test.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/get_alert_panels_by_node.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/replace_tokens.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/replace_tokens.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/replace_tokens.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/replace_tokens.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/lib/should_show_alert_badge.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/should_show_alert_badge.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/should_show_alert_badge.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/should_show_alert_badge.ts diff --git a/x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.test.ts diff --git a/x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/lib/sort_by_newest_alert.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/lib/sort_by_newest_alert.ts diff --git a/x-pack/plugins/monitoring/public/alerts/memory_usage_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/memory_usage_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/memory_usage_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/memory_usage_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/index.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/index.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/index.ts diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/lazy_expression.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/missing_monitoring_data_alert.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/missing_monitoring_data_alert/validation.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/panel.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/panel.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/panel.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/panel.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/status.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/status.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/status.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx b/x-pack/platform/plugins/private/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/alerts/thread_pool_rejections_alert/index.tsx diff --git a/x-pack/plugins/monitoring/public/alerts/types.ts b/x-pack/platform/plugins/private/monitoring/public/alerts/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/alerts/types.ts rename to x-pack/platform/plugins/private/monitoring/public/alerts/types.ts diff --git a/x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/external_config_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/external_config_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/external_config_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/global_state_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/global_state_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/global_state_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx b/x-pack/platform/plugins/private/monitoring/public/application/contexts/header_action_menu_context.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/header_action_menu_context.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/header_action_menu_context.tsx diff --git a/x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.test.ts b/x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.test.ts rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.test.ts diff --git a/x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.ts b/x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/contexts/should_override_refresh_interval.ts rename to x-pack/platform/plugins/private/monitoring/public/application/contexts/should_override_refresh_interval.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_alerts_modal.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_alerts_modal.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_alerts_modal.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_breadcrumbs.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_breadcrumbs.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_breadcrumbs.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_breadcrumbs.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_charts.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_charts.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_charts.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_charts.tsx diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_clusters.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_local_storage.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_local_storage.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_local_storage.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_local_storage.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_monitoring_time.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_monitoring_time.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_monitoring_time.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_request_error_handler.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_request_error_handler.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_request_error_handler.tsx diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_table.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_table.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_table.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_table.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_title.ts b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_title.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_title.ts rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_title.ts diff --git a/x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx b/x-pack/platform/plugins/private/monitoring/public/application/hooks/use_track_metric.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/hooks/use_track_metric.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/hooks/use_track_metric.tsx diff --git a/x-pack/plugins/monitoring/public/application/index.tsx b/x-pack/platform/plugins/private/monitoring/public/application/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/index.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/access_denied/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/access_denied/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/access_denied/index.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/apm_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/apm_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/apm_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/apm_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/index.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/index.ts diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/apm/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/apm/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/apm/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/beats_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/beats_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/beats_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/beats_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/beats/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/beats/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/cluster/overview_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/cluster/overview_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/cluster/overview_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ccr_shard_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/elasticsearch_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_advanced_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/index_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/index_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/indices_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/indices_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/indices_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ingest_pipeline_modal.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/item_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/item_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/item_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/ml_jobs_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_advanced_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/node_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/node_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/nodes_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/nodes_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/nodes_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/elasticsearch/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/elasticsearch/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/ent_search_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/enterprise_search/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/enterprise_search/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/home/cluster_listing.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/home/cluster_listing.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/home/cluster_listing.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instance.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/instance.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instance.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/instances.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/kibana_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/kibana_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/kibana_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/kibana_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/kibana/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/kibana/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/license_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/license_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/license_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/license_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/loading_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/loading_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/loading_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/loading_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/advanced.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/advanced.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/advanced.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/logstash_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/logstash_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/logstash_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/node.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node_pipelines.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/node_pipelines.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/node_pipelines.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/nodes.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/nodes.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/nodes.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/overview.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipeline.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipeline_versions_dropdown.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipelines.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/logstash/pipelines.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/logstash/pipelines.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts similarity index 94% rename from x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts index 6225e3863b2f7..18cb74404a21f 100644 --- a/x-pack/plugins/monitoring/public/application/pages/no_data/enabler.ts +++ b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/enabler.ts @@ -5,7 +5,7 @@ * 2.0. */ -// From x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js +// From x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js export class Enabler { http: any; updateModel: any; diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/index.ts b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/no_data/index.ts rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/index.ts diff --git a/x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/no_data_page.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/no_data/no_data_page.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/no_data/no_data_page.tsx diff --git a/x-pack/plugins/monitoring/public/application/pages/page_template.tsx b/x-pack/platform/plugins/private/monitoring/public/application/pages/page_template.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/pages/page_template.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/pages/page_template.tsx diff --git a/x-pack/plugins/monitoring/public/application/preserve_query_history.ts b/x-pack/platform/plugins/private/monitoring/public/application/preserve_query_history.ts similarity index 100% rename from x-pack/plugins/monitoring/public/application/preserve_query_history.ts rename to x-pack/platform/plugins/private/monitoring/public/application/preserve_query_history.ts diff --git a/x-pack/plugins/monitoring/public/application/route_init.tsx b/x-pack/platform/plugins/private/monitoring/public/application/route_init.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/application/route_init.tsx rename to x-pack/platform/plugins/private/monitoring/public/application/route_init.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/apm_metrics.tsx b/x-pack/platform/plugins/private/monitoring/public/components/apm/apm_metrics.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/apm_metrics.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/apm/apm_metrics.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/instance.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/instance.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/instance.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/instance.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instance/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instance/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instance/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instance/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/instances.tsx diff --git a/x-pack/plugins/monitoring/public/components/apm/instances/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/instances/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/instances/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/instances/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/apm/overview/status.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/overview/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/overview/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/overview/status.js diff --git a/x-pack/plugins/monitoring/public/components/apm/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/apm/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/apm/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/apm/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/beat.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/beat/beat.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/beat.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/beat/beat.js diff --git a/x-pack/plugins/monitoring/public/components/beats/beat/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/beat/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/beat/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/beat/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_active.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_types.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/latest_versions.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/__snapshots__/overview.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_active.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_active.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_types.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_types.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/latest_versions.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/latest_versions.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/overview/overview.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/overview/overview.test.js diff --git a/x-pack/plugins/monitoring/public/components/beats/stats.js b/x-pack/platform/plugins/private/monitoring/public/components/beats/stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/beats/stats.js rename to x-pack/platform/plugins/private/monitoring/public/components/beats/stats.js diff --git a/x-pack/plugins/monitoring/public/components/chart/chart_target.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/chart_target.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/chart_target.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/chart_target.js diff --git a/x-pack/plugins/monitoring/public/components/chart/event_bus.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/event_bus.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/event_bus.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/event_bus.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_chart_options.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_chart_options.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_chart_options.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_chart_options.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_color.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_color.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_color.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_color.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_color.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_last_value.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_last_value.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_last_value.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_last_value.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_last_value.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_technical_preview.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_technical_preview.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_technical_preview.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_technical_preview.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_technical_preview.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_title.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_title.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_title.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_title.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_title.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_units.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_units.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_units.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_units.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.test.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/get_values_for_legend.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/get_values_for_legend.test.js diff --git a/x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/horizontal_legend.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.js diff --git a/x-pack/plugins/monitoring/public/components/chart/horizontal_legend.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/horizontal_legend.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/horizontal_legend.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/index.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/index.js diff --git a/x-pack/plugins/monitoring/public/components/chart/info_tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/info_tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/chart/info_tooltip.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/info_tooltip.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/info_tooltip.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries.js diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.scss diff --git a/x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx b/x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/chart/monitoring_timeseries_container.tsx diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_container.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_container.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_container.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_container.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.js rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.js diff --git a/x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.scss b/x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/chart/timeseries_visualization.scss rename to x-pack/platform/plugins/private/monitoring/public/components/chart/timeseries_visualization.scss diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/listing/listing.scss b/x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/listing/listing.scss rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/listing/listing.scss diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/__snapshots__/helpers.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/apm_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/apm_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/apm_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/beats_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/beats_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/beats_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/elasticsearch_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/elasticsearch_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/elasticsearch_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/enterprise_search_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/enterprise_search_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/enterprise_search_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/enterprise_search_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/helpers.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/helpers.test.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/helpers.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/helpers.test.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/index.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.d.ts diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/kibana_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/kibana_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/kibana_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/logstash_panel.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/overview/logstash_panel.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/overview/logstash_panel.js diff --git a/x-pack/plugins/monitoring/public/components/cluster/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/cluster/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/cluster/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/cluster/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/__snapshots__/ccr.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/ccr.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/ccr.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/__snapshots__/ccr_shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/ccr_shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/status.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ccr_shard/status.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ccr_shard/status.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/cluster_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/index_detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/index_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/indices/indices.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/indices/indices.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_job_listing/status_icon.tsx diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/ml_jobs/ml_jobs.tsx diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/advanced.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/advanced.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/advanced.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/node.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/node.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/node.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node_detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/node_detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/node_detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/__snapshots__/cells.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/cells.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/cells.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.d.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/nodes/nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/index.ts diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/parse_props.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/parse_props.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/parse_props.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/progress.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/progress.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/progress.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/recovery_index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/shard_activity.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/snapshot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/snapshot.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/snapshot.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_destination.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_destination.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_destination.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/source_tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/total_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_activity/total_time.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_activity/total_time.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/__snapshots__/shard.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/cluster_view.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/shard.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_body.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/table_head.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/components/unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/index.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/calculate_class.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/decorate_shards.test.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_primary_children.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/has_unassigned.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/labels.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/lib/vents.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/shard_allocation.scss diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/indices_by_nodes.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/shard_allocation/transformers/nodes_by_indices.js diff --git a/x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/elasticsearch/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/elasticsearch/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/index.ts diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/overview.tsx b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/overview.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/overview.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/overview.tsx diff --git a/x-pack/plugins/monitoring/public/components/enterprise_search/overview/status.tsx b/x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/enterprise_search/overview/status.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/enterprise_search/overview/status.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/header_menu_portal.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/header_menu_portal.tsx diff --git a/x-pack/plugins/monitoring/public/components/header_menu/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/header_menu/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/header_menu/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/header_menu/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/index.ts diff --git a/x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kibana/cluster_status/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/cluster_status/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/format_last_seen_timestamp.ts b/x-pack/platform/plugins/private/monitoring/public/components/kibana/format_last_seen_timestamp.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/format_last_seen_timestamp.ts rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/format_last_seen_timestamp.ts diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/index.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/index.js diff --git a/x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/instances.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/instances/instances.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/instances/instances.tsx diff --git a/x-pack/plugins/monitoring/public/components/kibana/status_icon.js b/x-pack/platform/plugins/private/monitoring/public/components/kibana/status_icon.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/kibana/status_icon.js rename to x-pack/platform/plugins/private/monitoring/public/components/kibana/status_icon.js diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/autocomplete_field.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/autocomplete_field.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/suggestion_item.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/suggestion_item.tsx diff --git a/x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx b/x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/kuery_bar/with_kuery_autocompletion.tsx diff --git a/x-pack/plugins/monitoring/public/components/license/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/license/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/license/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/license/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/logs.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap b/x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logs/__snapshots__/reason.test.tsx.snap diff --git a/x-pack/plugins/monitoring/public/components/logs/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/logs.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/logs.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/logs.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/logs.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/logs.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/logs.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/reason.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/reason.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/logs/reason.tsx b/x-pack/platform/plugins/private/monitoring/public/components/logs/reason.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/logs/reason.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/logs/reason.tsx diff --git a/x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/cluster_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/cluster_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/cluster_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/detail_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/detail_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/detail_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/__snapshots__/listing.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/listing/listing.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/listing/listing.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/overview/overview.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/overview.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/overview/overview.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/overview/overview.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_listing/pipeline_listing.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/config.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/boolean_edge.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/edge_factory.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/if_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/index.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/plugin_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/queue_vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/graph/vertex_factory.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/else_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/flatten_pipeline_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/if_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/list/plugin_element.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/if_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/make_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/pipeline.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/plugin_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/queue.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline/utils.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/models/pipeline_state.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/collapsible_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/detail_drawer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/metric.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/pipeline_viewer.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/plugin_statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/queue.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_list_heading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/__snapshots__/statement_section.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/collapsible_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/detail_drawer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/index.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/metric.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/pipeline_viewer.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/plugin_statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/queue.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.scss diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_list_heading.test.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.js diff --git a/x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js b/x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/logstash/pipeline_viewer/views/statement_section.test.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/constants.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/constants.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/constants.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/__snapshots__/flyout.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/flyout.test.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/flyout/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/flyout/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/apm/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/common_beats_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/beats/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/common_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/components/monospace/monospace.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/elasticsearch/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/get_instruction_steps.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/kibana/index.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/disable_internal_collection_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/enable_metricbeat_instructions.js diff --git a/x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js b/x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/metricbeat_migration/instruction_steps/logstash/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/checker_errors.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/changes_needed.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/changes_needed.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/changes_needed.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/cloud_deployment.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/cloud_deployment.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/cloud_deployment.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/looking_for.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/looking_for.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/looking_for.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/what_is.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/blurbs/what_is.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/blurbs/what_is.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checker_errors.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checker_errors.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checker_errors.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checker_errors.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checker_errors.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/checking_settings.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/checking_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/checking_settings.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/checking_settings.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/__snapshots__/collection_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_enabled/collection_enabled.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/__snapshots__/collection_interval.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/collection_interval/collection_interval.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/__snapshots__/exporters.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/exporters/exporters.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/exporters/exporters.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/__snapshots__/plugin_enabled.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/explanations/plugin_enabled/plugin_enabled.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/no_data/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/index.ts diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.d.ts diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/no_data.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/no_data.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/no_data.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/reason_found.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/__snapshots__/we_tried.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/index.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/index.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/reason_found.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/reason_found.test.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.js diff --git a/x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.test.js b/x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/no_data/reasons/we_tried.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/no_data/reasons/we_tried.test.js diff --git a/x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/page_loading/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/page_loading/page_loading.test.js b/x-pack/platform/plugins/private/monitoring/public/components/page_loading/page_loading.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/page_loading/page_loading.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/page_loading/page_loading.test.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/__snapshots__/setup_mode.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/renderers/index.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/index.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/lib/find_new_uuid.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/lib/find_new_uuid.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/lib/find_new_uuid.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/lib/find_new_uuid.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.d.ts diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.js diff --git a/x-pack/plugins/monitoring/public/components/renderers/setup_mode.test.js b/x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/renderers/setup_mode.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/renderers/setup_mode.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/badge.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/formatting.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/listing_callout.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/__snapshots__/tooltip.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/badge.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/badge.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/badge.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/badge.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/badge.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/exit_button.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/exit_button.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/exit_button.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/exit_button.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/formatting.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/formatting.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/formatting.ts diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/listing_callout.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/listing_callout.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/setup_mode_context.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/setup_mode_context.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/setup_mode_context.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/setup_mode_context.ts diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.test.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.test.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.test.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.test.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/toggle_button.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/toggle_button.tsx diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/tooltip.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/tooltip.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/tooltip.test.js b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/tooltip.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/tooltip.test.js diff --git a/x-pack/plugins/monitoring/public/components/setup_mode/types.ts b/x-pack/platform/plugins/private/monitoring/public/components/setup_mode/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/setup_mode/types.ts rename to x-pack/platform/plugins/private/monitoring/public/components/setup_mode/types.ts diff --git a/x-pack/plugins/monitoring/public/components/shared/toolbar.tsx b/x-pack/platform/plugins/private/monitoring/public/components/shared/toolbar.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/shared/toolbar.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/shared/toolbar.tsx diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/__mocks__/plugins/xpack_main/jquery_flot.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/__snapshots__/index.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/sparkline/index.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/index.test.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/index.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/index.test.js diff --git a/x-pack/plugins/monitoring/public/components/sparkline/sparkline.scss b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/sparkline.scss rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline.scss diff --git a/x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js b/x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline_flot_chart.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/sparkline/sparkline_flot_chart.js rename to x-pack/platform/plugins/private/monitoring/public/components/sparkline/sparkline_flot_chart.js diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_index.scss b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/_index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_index.scss rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/_index.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/_status_icon.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/_status_icon.scss diff --git a/x-pack/plugins/monitoring/public/components/status_icon/index.tsx b/x-pack/platform/plugins/private/monitoring/public/components/status_icon/index.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/status_icon/index.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/status_icon/index.tsx diff --git a/x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/__snapshots__/summary_status.test.js.snap diff --git a/x-pack/plugins/monitoring/public/components/summary_status/index.js b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/index.js rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/index.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.scss b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.scss similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.scss rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.scss diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.test.js rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.test.js diff --git a/x-pack/plugins/monitoring/public/components/summary_status/summary_status.tsx b/x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/summary_status/summary_status.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/summary_status/summary_status.tsx diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table.tsx b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table.tsx rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table.tsx diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.d.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table_ssp.d.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.d.ts diff --git a/x-pack/plugins/monitoring/public/components/table/eui_table_ssp.js b/x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.js similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/eui_table_ssp.js rename to x-pack/platform/plugins/private/monitoring/public/components/table/eui_table_ssp.js diff --git a/x-pack/plugins/monitoring/public/components/table/index.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/index.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/index.ts diff --git a/x-pack/plugins/monitoring/public/components/table/storage.ts b/x-pack/platform/plugins/private/monitoring/public/components/table/storage.ts similarity index 100% rename from x-pack/plugins/monitoring/public/components/table/storage.ts rename to x-pack/platform/plugins/private/monitoring/public/components/table/storage.ts diff --git a/x-pack/plugins/monitoring/public/external_config.ts b/x-pack/platform/plugins/private/monitoring/public/external_config.ts similarity index 100% rename from x-pack/plugins/monitoring/public/external_config.ts rename to x-pack/platform/plugins/private/monitoring/public/external_config.ts diff --git a/x-pack/plugins/monitoring/public/icons/health-gray.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-gray.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-gray.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-green.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-green.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-green.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-red.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-red.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-red.svg diff --git a/x-pack/plugins/monitoring/public/icons/health-yellow.svg b/x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg similarity index 100% rename from x-pack/plugins/monitoring/public/icons/health-yellow.svg rename to x-pack/platform/plugins/private/monitoring/public/icons/health-yellow.svg diff --git a/x-pack/plugins/monitoring/public/index.scss b/x-pack/platform/plugins/private/monitoring/public/index.scss similarity index 100% rename from x-pack/plugins/monitoring/public/index.scss rename to x-pack/platform/plugins/private/monitoring/public/index.scss diff --git a/x-pack/plugins/monitoring/public/index.ts b/x-pack/platform/plugins/private/monitoring/public/index.ts similarity index 100% rename from x-pack/plugins/monitoring/public/index.ts rename to x-pack/platform/plugins/private/monitoring/public/index.ts diff --git a/x-pack/plugins/monitoring/public/jest.helpers.ts b/x-pack/platform/plugins/private/monitoring/public/jest.helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/public/jest.helpers.ts rename to x-pack/platform/plugins/private/monitoring/public/jest.helpers.ts diff --git a/x-pack/plugins/monitoring/public/legacy_shims.ts b/x-pack/platform/plugins/private/monitoring/public/legacy_shims.ts similarity index 100% rename from x-pack/plugins/monitoring/public/legacy_shims.ts rename to x-pack/platform/plugins/private/monitoring/public/legacy_shims.ts diff --git a/x-pack/plugins/monitoring/public/lib/apm_agent.ts b/x-pack/platform/plugins/private/monitoring/public/lib/apm_agent.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/apm_agent.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/apm_agent.ts diff --git a/x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js b/x-pack/platform/plugins/private/monitoring/public/lib/calculate_shard_stats.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/calculate_shard_stats.js rename to x-pack/platform/plugins/private/monitoring/public/lib/calculate_shard_stats.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/cluster_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/node_settings.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/checkers/settings_checker.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/enabler.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/enabler.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/index.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/index.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/index.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/settings_checker.test.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.js diff --git a/x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/elasticsearch_settings/start_checks.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/elasticsearch_settings/start_checks.test.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js b/x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.js rename to x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.js diff --git a/x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/ensure_minimum_time.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/ensure_minimum_time.test.js diff --git a/x-pack/plugins/monitoring/public/lib/extract_ip.js b/x-pack/platform/plugins/private/monitoring/public/lib/extract_ip.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/extract_ip.js rename to x-pack/platform/plugins/private/monitoring/public/lib/extract_ip.js diff --git a/x-pack/plugins/monitoring/public/lib/fetch_alerts.ts b/x-pack/platform/plugins/private/monitoring/public/lib/fetch_alerts.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/fetch_alerts.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/fetch_alerts.ts diff --git a/x-pack/plugins/monitoring/public/lib/fetch_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/lib/fetch_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/fetch_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/fetch_clusters.ts diff --git a/x-pack/plugins/monitoring/public/lib/form_validation.ts b/x-pack/platform/plugins/private/monitoring/public/lib/form_validation.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/form_validation.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/form_validation.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_msg.test.ts b/x-pack/platform/plugins/private/monitoring/public/lib/format_msg.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_msg.test.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/format_msg.test.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_msg.ts b/x-pack/platform/plugins/private/monitoring/public/lib/format_msg.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_msg.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/format_msg.ts diff --git a/x-pack/plugins/monitoring/public/lib/format_number.js b/x-pack/platform/plugins/private/monitoring/public/lib/format_number.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_number.js rename to x-pack/platform/plugins/private/monitoring/public/lib/format_number.js diff --git a/x-pack/plugins/monitoring/public/lib/format_number.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/format_number.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/format_number.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/format_number.test.js diff --git a/x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_cluster_from_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_cluster_from_clusters.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_cluster_from_clusters.ts diff --git a/x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.test.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.test.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.test.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.test.ts diff --git a/x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.ts b/x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/get_safe_for_external_link.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/get_safe_for_external_link.ts diff --git a/x-pack/plugins/monitoring/public/lib/kuery.ts b/x-pack/platform/plugins/private/monitoring/public/lib/kuery.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/kuery.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/kuery.ts diff --git a/x-pack/plugins/monitoring/public/lib/logstash/pipelines.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/pipelines.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.test.js diff --git a/x-pack/plugins/monitoring/public/lib/logstash/pipelines.ts b/x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/public/lib/logstash/pipelines.ts rename to x-pack/platform/plugins/private/monitoring/public/lib/logstash/pipelines.ts diff --git a/x-pack/plugins/monitoring/public/lib/setup_mode.test.js b/x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.test.js similarity index 100% rename from x-pack/plugins/monitoring/public/lib/setup_mode.test.js rename to x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.test.js diff --git a/x-pack/plugins/monitoring/public/lib/setup_mode.tsx b/x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/lib/setup_mode.tsx rename to x-pack/platform/plugins/private/monitoring/public/lib/setup_mode.tsx diff --git a/x-pack/plugins/monitoring/public/lib/typed_react.tsx b/x-pack/platform/plugins/private/monitoring/public/lib/typed_react.tsx similarity index 100% rename from x-pack/plugins/monitoring/public/lib/typed_react.tsx rename to x-pack/platform/plugins/private/monitoring/public/lib/typed_react.tsx diff --git a/x-pack/plugins/monitoring/public/plugin.ts b/x-pack/platform/plugins/private/monitoring/public/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring/public/plugin.ts rename to x-pack/platform/plugins/private/monitoring/public/plugin.ts diff --git a/x-pack/plugins/monitoring/public/types.ts b/x-pack/platform/plugins/private/monitoring/public/types.ts similarity index 100% rename from x-pack/plugins/monitoring/public/types.ts rename to x-pack/platform/plugins/private/monitoring/public/types.ts diff --git a/x-pack/plugins/monitoring/public/url_state.ts b/x-pack/platform/plugins/private/monitoring/public/url_state.ts similarity index 100% rename from x-pack/plugins/monitoring/public/url_state.ts rename to x-pack/platform/plugins/private/monitoring/public/url_state.ts diff --git a/x-pack/plugins/monitoring/readme.md b/x-pack/platform/plugins/private/monitoring/readme.md similarity index 100% rename from x-pack/plugins/monitoring/readme.md rename to x-pack/platform/plugins/private/monitoring/readme.md diff --git a/x-pack/plugins/monitoring/server/config.test.ts b/x-pack/platform/plugins/private/monitoring/server/config.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/config.test.ts rename to x-pack/platform/plugins/private/monitoring/server/config.test.ts diff --git a/x-pack/plugins/monitoring/server/config.ts b/x-pack/platform/plugins/private/monitoring/server/config.ts similarity index 100% rename from x-pack/plugins/monitoring/server/config.ts rename to x-pack/platform/plugins/private/monitoring/server/config.ts diff --git a/x-pack/plugins/monitoring/server/debug_logger.ts b/x-pack/platform/plugins/private/monitoring/server/debug_logger.ts similarity index 100% rename from x-pack/plugins/monitoring/server/debug_logger.ts rename to x-pack/platform/plugins/private/monitoring/server/debug_logger.ts diff --git a/x-pack/plugins/monitoring/server/deprecations.test.js b/x-pack/platform/plugins/private/monitoring/server/deprecations.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/deprecations.test.js rename to x-pack/platform/plugins/private/monitoring/server/deprecations.test.js diff --git a/x-pack/plugins/monitoring/server/deprecations.ts b/x-pack/platform/plugins/private/monitoring/server/deprecations.ts similarity index 100% rename from x-pack/plugins/monitoring/server/deprecations.ts rename to x-pack/platform/plugins/private/monitoring/server/deprecations.ts diff --git a/x-pack/plugins/monitoring/server/es_client/README.md b/x-pack/platform/plugins/private/monitoring/server/es_client/README.md similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/README.md rename to x-pack/platform/plugins/private/monitoring/server/es_client/README.md diff --git a/x-pack/plugins/monitoring/server/es_client/instantiate_client.test.js b/x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/instantiate_client.test.js rename to x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.test.js diff --git a/x-pack/plugins/monitoring/server/es_client/instantiate_client.ts b/x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.ts similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/instantiate_client.ts rename to x-pack/platform/plugins/private/monitoring/server/es_client/instantiate_client.ts diff --git a/x-pack/plugins/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts b/x-pack/platform/plugins/private/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts similarity index 100% rename from x-pack/plugins/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts rename to x-pack/platform/plugins/private/monitoring/server/es_client/monitoring_endpoint_disable_watches.ts diff --git a/x-pack/plugins/monitoring/server/index.ts b/x-pack/platform/plugins/private/monitoring/server/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/index.ts rename to x-pack/platform/plugins/private/monitoring/server/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/bulk_uploader.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/bulk_uploader.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/check_for_email_value.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/get_usage_collector.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_es_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_license_type.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/fetch_stack_product_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.test.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/lib/get_stack_products_usage.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/collectors/types.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/collectors/types.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/collectors/types.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/init.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/init.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/init.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/init.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/index.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/index.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/monitoring_bulk.ts diff --git a/x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts b/x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts similarity index 100% rename from x-pack/plugins/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts rename to x-pack/platform/plugins/private/monitoring/server/kibana_monitoring/lib/send_bulk_payload.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/create_dataset_query_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/create_dataset_query_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/create_dataset_query_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/create_dataset_query_filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_available_ccs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_available_ccs.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_ccr_read_exceptions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cluster_health.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cluster_health.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_cpu_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_disk_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_elasticsearch_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_index_shard_size.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_index_shard_size.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_kibana_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_kibana_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_licenses.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_licenses.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_logstash_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_logstash_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_memory_usage_node_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_missing_monitoring_data.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_nodes_from_cluster_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_status.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_status.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/fetch_thread_pool_rejections_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/get_ccs_index_pattern.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/get_ccs_index_pattern.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.ts b/x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/alerts/map_legacy_severity.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/alerts/map_legacy_severity.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/_apm_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/_apm_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_apm_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/_apm_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/_get_time_of_last_event.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/_get_time_of_last_event.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/_get_time_of_last_event.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/create_apm_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/create_apm_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/create_apm_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/create_apm_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apm_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apm_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apm_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apm_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.test.js diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_apms_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_apms_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/apm/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/apm/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/__fixtures__/get_listing_response.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/_beats_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/_beats_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/_beats_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/_beats_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/create_beats_query.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/create_beats_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/create_beats_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/create_beats_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beat_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beat_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_beats_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_beats_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_latest_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_latest_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/beats/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/beats/types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/beats/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/beats/types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/beats/types.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_auto.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_auto.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_auto.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_auto.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_auto.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_availabiilty.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_availabiilty.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_availabiilty.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_availabiilty.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_availability.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_availability.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_availability.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_availability.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_overall_status.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_overall_status.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_overall_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_overall_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_overall_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_rate.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_rate.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_rate.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_rate.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_rate.ts diff --git a/x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.test.js diff --git a/x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.ts b/x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/calculate_timeseries_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/calculate_timeseries_interval.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__fixtures__/clusters.json b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/__fixtures__/clusters.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__fixtures__/clusters.json rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/__fixtures__/clusters.json diff --git a/x-pack/plugins/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/__snapshots__/get_clusters_summary.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/flag_supported_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/flag_supported_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_license.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_license.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_license.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_from_request.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_from_request.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_from_request.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_state.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_state.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/get_clusters_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/get_clusters_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/cluster/is_in_code_path.ts b/x-pack/platform/plugins/private/monitoring/server/lib/cluster/is_in_code_path.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/cluster/is_in_code_path.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/cluster/is_in_code_path.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_query.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_query.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_query.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_query.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/create_route_validation_function.ts b/x-pack/platform/plugins/private/monitoring/server/lib/create_route_validation_function.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/create_route_validation_function.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/create_route_validation_function.ts diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/agg_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json b/x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__fixtures__/non_deriv_metrics_buckets.json diff --git a/x-pack/plugins/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/details/__snapshots__/get_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/details/get_metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/details/get_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/details/get_series.ts b/x-pack/platform/plugins/private/monitoring/server/lib/details/get_series.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/details/get_series.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/details/get_series.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/ccr.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/ccr.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/convert_metric_names.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/convert_metric_names.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/convert_metric_names.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/convert_metric_names.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_last_recovery.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_last_recovery.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/get_ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/get_ml_jobs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_index_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/get_indices.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/get_indices.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/indices/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/indices/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/calculate_node_type.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_default_node_from_id.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_summary.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_node_type_class_label.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__fixtures__/cluster_data.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/get_metric_aggs.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/handle_response.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_info.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/__snapshots__/map_nodes_metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_live_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_metric_aggs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_node_ids.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/get_paginated_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/handle_response.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/map_nodes_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/nodes_listing_metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/get_nodes/sort_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/lookups.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/lookups.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/nodes/types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/nodes/types.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/cluster.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/index.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/__fixtures__/shard_stats.json diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/calculate_shard_stat_indices_totals.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_indices_unassigned_shard_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_nodes_shard_count.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_allocation.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stat_aggs.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_shard_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/get_unassigned_shards.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.test.js diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/shards/normalize_shard_objects.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch/verify_monitoring_auth.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/cluster.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/find_reason.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/find_reason.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_disabled.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_enabled.ts diff --git a/x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts b/x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/elasticsearch_settings/set/collection_interval.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/_enterprise_search_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/create_enterprise_search_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_enterprise_search_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/get_stats.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/get_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/get_stats.ts diff --git a/x-pack/plugins/monitoring/server/lib/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/error_missing_required.ts b/x-pack/platform/plugins/private/monitoring/server/lib/error_missing_required.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/error_missing_required.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/error_missing_required.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/auth_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/auth_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/auth_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/auth_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/auth_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/custom_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/custom_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/custom_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/custom_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/custom_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/esclient_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/esclient_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/esclient_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/esclient_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/esclient_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_error.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_error.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_error.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_error.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_settings_error.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/handle_settings_error.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/handle_settings_error.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/errors/pipeline_errors.ts b/x-pack/platform/plugins/private/monitoring/server/lib/errors/pipeline_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/errors/pipeline_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/errors/pipeline_errors.ts diff --git a/x-pack/plugins/monitoring/server/lib/filter_partial_buckets.ts b/x-pack/platform/plugins/private/monitoring/server/lib/filter_partial_buckets.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/filter_partial_buckets.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/filter_partial_buckets.ts diff --git a/x-pack/plugins/monitoring/server/lib/format_timezone.ts b/x-pack/platform/plugins/private/monitoring/server/lib/format_timezone.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/format_timezone.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/format_timezone.ts diff --git a/x-pack/plugins/monitoring/server/lib/get_timezone.ts b/x-pack/platform/plugins/private/monitoring/server/lib/get_timezone.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/get_timezone.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/get_timezone.ts diff --git a/x-pack/plugins/monitoring/server/lib/helpers.ts b/x-pack/platform/plugins/private/monitoring/server/lib/helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/helpers.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/helpers.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/build_kibana_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/build_kibana_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/build_kibana_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/build_kibana_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.test.js diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibana_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibana_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/get_kibanas_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/is_kibana_status_stale.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/is_kibana_status_stale.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/is_kibana_status_stale.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/is_kibana_status_stale.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_cluster_rule_data_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/get_instance_rule_data_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/kibana/rules/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/kibana/rules/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/kibana/rules/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/detect_reason.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/detect_reason.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/detect_reason_from_exception.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason_from_exception.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/detect_reason_from_exception.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/detect_reason_from_exception.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_log_types.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/get_log_types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_log_types.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/get_log_types.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/get_logs.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/get_logs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/get_logs.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/get_logs.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logs/logs_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logs/logs_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logs/logs_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logs/logs_filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_logstash_for_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_logstash_for_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_logstash_for_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_node_info.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_node_info.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_node_info.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_node_info.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_node_info.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_nodes.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_nodes.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_nodes.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_paginated_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_paginated_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_paginated_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_paginated_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_ids.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_ids.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_state_document.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_state_document.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_state_document.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_stats_aggregation.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/get_pipeline_vertex_stats_aggregation.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/merge_pipeline_versions.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/merge_pipeline_versions.ts diff --git a/x-pack/plugins/monitoring/server/lib/logstash/sort_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/lib/logstash/sort_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/logstash/sort_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/logstash/sort_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/lib/mb_safe_query.ts b/x-pack/platform/plugins/private/monitoring/server/lib/mb_safe_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/mb_safe_query.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/mb_safe_query.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/__snapshots__/metrics.test.js.snap diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/apm/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/apm/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/cpu_utilization_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/beats/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/beats/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/cluster_metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/cluster_metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/cluster_metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/latency_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/classes/quota_metric_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/latency_calculation.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/elasticsearch/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/elasticsearch/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/enterprise_search/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/enterprise_search/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/kibana/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/kibana/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/classes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/classes.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/classes.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/logstash/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/logstash/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/metrics/metrics.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/metrics.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.test.js diff --git a/x-pack/plugins/monitoring/server/lib/metrics/metrics.ts b/x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/metrics/metrics.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/metrics/metrics.ts diff --git a/x-pack/plugins/monitoring/server/lib/normalize_version_string.ts b/x-pack/platform/plugins/private/monitoring/server/lib/normalize_version_string.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/normalize_version_string.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/normalize_version_string.ts diff --git a/x-pack/plugins/monitoring/server/lib/pagination/filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/pagination/filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/pagination/filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/pagination/filter.ts diff --git a/x-pack/plugins/monitoring/server/lib/pagination/paginate.ts b/x-pack/platform/plugins/private/monitoring/server/lib/pagination/paginate.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/pagination/paginate.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/pagination/paginate.ts diff --git a/x-pack/plugins/monitoring/server/lib/process_version_string.test.js b/x-pack/platform/plugins/private/monitoring/server/lib/process_version_string.test.js similarity index 100% rename from x-pack/plugins/monitoring/server/lib/process_version_string.test.js rename to x-pack/platform/plugins/private/monitoring/server/lib/process_version_string.test.js diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.test.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.test.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.test.ts diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/get_collection_status.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/get_collection_status.ts diff --git a/x-pack/plugins/monitoring/server/lib/setup/collection/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/setup/collection/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/setup/collection/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/get_standalone_cluster_definition.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/has_standalone_clusters.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/index.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/index.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/index.ts diff --git a/x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts b/x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts similarity index 100% rename from x-pack/plugins/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts rename to x-pack/platform/plugins/private/monitoring/server/lib/standalone_clusters/standalone_cluster_query_filter.ts diff --git a/x-pack/plugins/monitoring/server/license_service.ts b/x-pack/platform/plugins/private/monitoring/server/license_service.ts similarity index 100% rename from x-pack/plugins/monitoring/server/license_service.ts rename to x-pack/platform/plugins/private/monitoring/server/license_service.ts diff --git a/x-pack/plugins/monitoring/server/mocks.ts b/x-pack/platform/plugins/private/monitoring/server/mocks.ts similarity index 100% rename from x-pack/plugins/monitoring/server/mocks.ts rename to x-pack/platform/plugins/private/monitoring/server/mocks.ts diff --git a/x-pack/plugins/monitoring/server/plugin.test.ts b/x-pack/platform/plugins/private/monitoring/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/plugin.test.ts rename to x-pack/platform/plugins/private/monitoring/server/plugin.test.ts diff --git a/x-pack/plugins/monitoring/server/plugin.ts b/x-pack/platform/plugins/private/monitoring/server/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring/server/plugin.ts rename to x-pack/platform/plugins/private/monitoring/server/plugin.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/README.md b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/README.md similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/README.md rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/README.md diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/build_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/errors_helpers/errors_query.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/fetch_metricbeat_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/metricbeat/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/metricbeat/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/build_monitored_clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/fetch_monitored_clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/monitored_clusters/monitored_clusters_query.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.test.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/fetch_package_errors.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/package/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/package/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/package/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/_health/types.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/_health/types.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/_health/types.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/enable.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/enable.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/alerts/status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/alerts/status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/_get_apm_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instances.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/instances.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/instances.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/apm/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/apm/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beat_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beat_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beat_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/beats.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/beats.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/beats/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/beats/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/check_access.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/check_access.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/check_access.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/check_access/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/check_access/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/cluster.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/clusters.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/clusters.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/clusters.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/cluster/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/cluster/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ccr_shard.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/index_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/indices.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/indices.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/indices.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_index_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_node_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/ml_jobs.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/node_detail.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/cluster.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/internal_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/check/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_enabled.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/elasticsearch_settings/set/collection_interval.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/enterprise_search/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/enterprise_search/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/_get_kibana_cluster_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instances.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/instances.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/instances.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_instance.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/kibana/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/kibana/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_node.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_node.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_node.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/metric_set_overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/node.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/node.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/node.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/nodes.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/nodes.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/nodes.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/overview.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/overview.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/overview.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipeline.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipeline.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipeline.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipeline_ids.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/cluster_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/logstash/pipelines/node_pipelines.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/cluster_setup_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/disable_elasticsearch_internal_collection.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/index.ts diff --git a/x-pack/plugins/monitoring/server/routes/api/v1/setup/node_setup_status.ts b/x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/node_setup_status.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/api/v1/setup/node_setup_status.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/api/v1/setup/node_setup_status.ts diff --git a/x-pack/plugins/monitoring/server/routes/index.ts b/x-pack/platform/plugins/private/monitoring/server/routes/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/routes/index.ts rename to x-pack/platform/plugins/private/monitoring/server/routes/index.ts diff --git a/x-pack/plugins/monitoring/server/rules/alert_helpers.ts b/x-pack/platform/plugins/private/monitoring/server/rules/alert_helpers.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/alert_helpers.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/alert_helpers.ts diff --git a/x-pack/plugins/monitoring/server/rules/base_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/base_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/base_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/base_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/base_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/base_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/base_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/base_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/ccr_read_exceptions_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/ccr_read_exceptions_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/cluster_health_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cluster_health_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/cluster_health_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cluster_health_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cluster_health_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/cpu_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cpu_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/cpu_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/cpu_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/cpu_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/disk_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/disk_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/disk_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/disk_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/disk_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/elasticsearch_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/index.ts b/x-pack/platform/plugins/private/monitoring/server/rules/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/index.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/index.ts diff --git a/x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/kibana_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/kibana_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/large_shard_size_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/large_shard_size_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/large_shard_size_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/large_shard_size_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/large_shard_size_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/license_expiration_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/license_expiration_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/license_expiration_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/license_expiration_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/license_expiration_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/logstash_version_mismatch_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/logstash_version_mismatch_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/memory_usage_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/memory_usage_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/memory_usage_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/memory_usage_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/memory_usage_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/missing_monitoring_data_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/missing_monitoring_data_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/nodes_changed_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/nodes_changed_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/nodes_changed_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/nodes_changed_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/nodes_changed_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/rules_factory.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/rules_factory.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/rules_factory.ts b/x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/rules_factory.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/rules_factory.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_rejections_rule_base.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_rejections_rule_base.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_rejections_rule_base.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_rejections_rule_base.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_search_rejections_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_search_rejections_rule.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.test.ts diff --git a/x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.ts b/x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.ts similarity index 100% rename from x-pack/plugins/monitoring/server/rules/thread_pool_write_rejections_rule.ts rename to x-pack/platform/plugins/private/monitoring/server/rules/thread_pool_write_rejections_rule.ts diff --git a/x-pack/plugins/monitoring/server/static_globals.ts b/x-pack/platform/plugins/private/monitoring/server/static_globals.ts similarity index 100% rename from x-pack/plugins/monitoring/server/static_globals.ts rename to x-pack/platform/plugins/private/monitoring/server/static_globals.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/beats_stats_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_agent_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_metricbeat_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1n1p.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_1nmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_state_self_monitoring_results_mnmp.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_agent_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_metricbeat_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/__mocks__/fixtures/logstash_stats_self_monitoring_results.json diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/create_query.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/create_query.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/create_query.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/create_query.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/create_query.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_all_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_all_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_beats_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_beats_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_cluster_uuids.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_cluster_uuids.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_es_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_es_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_high_level_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_high_level_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_kibana_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_kibana_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_licenses.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_licenses.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/get_logstash_stats.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/get_logstash_stats.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/index.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/index.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/index.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/index.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_agent_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_metricbeat_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.test.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/logstash_self_monitoring.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/logstash_self_monitoring.ts diff --git a/x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts b/x-pack/platform/plugins/private/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts similarity index 100% rename from x-pack/plugins/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts rename to x-pack/platform/plugins/private/monitoring/server/telemetry_collection/register_monitoring_telemetry_collection.ts diff --git a/x-pack/plugins/monitoring/server/types.ts b/x-pack/platform/plugins/private/monitoring/server/types.ts similarity index 100% rename from x-pack/plugins/monitoring/server/types.ts rename to x-pack/platform/plugins/private/monitoring/server/types.ts diff --git a/x-pack/plugins/monitoring/tsconfig.json b/x-pack/platform/plugins/private/monitoring/tsconfig.json similarity index 96% rename from x-pack/plugins/monitoring/tsconfig.json rename to x-pack/platform/plugins/private/monitoring/tsconfig.json index 75676ed06e3c4..0a9770f9e7da8 100644 --- a/x-pack/plugins/monitoring/tsconfig.json +++ b/x-pack/platform/plugins/private/monitoring/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/monitoring_collection/README.md b/x-pack/platform/plugins/private/monitoring_collection/README.md similarity index 100% rename from x-pack/plugins/monitoring_collection/README.md rename to x-pack/platform/plugins/private/monitoring_collection/README.md diff --git a/x-pack/plugins/monitoring_collection/jest.config.js b/x-pack/platform/plugins/private/monitoring_collection/jest.config.js similarity index 52% rename from x-pack/plugins/monitoring_collection/jest.config.js rename to x-pack/platform/plugins/private/monitoring_collection/jest.config.js index d2bb0617857d2..91ceff0234bdd 100644 --- a/x-pack/plugins/monitoring_collection/jest.config.js +++ b/x-pack/platform/plugins/private/monitoring_collection/jest.config.js @@ -7,11 +7,12 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/monitoring_collection'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/monitoring_collection', + rootDir: '../../../../..', + roots: ['/x-pack/platform/plugins/private/monitoring_collection'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/platform/plugins/private/monitoring_collection', coverageReporters: ['text', 'html'], collectCoverageFrom: [ - '/x-pack/plugins/monitoring_collection/{common,public,server}/**/*.{js,ts,tsx}', + '/x-pack/platform/plugins/private/monitoring_collection/{common,public,server}/**/*.{js,ts,tsx}', ], }; diff --git a/x-pack/plugins/monitoring_collection/kibana.jsonc b/x-pack/platform/plugins/private/monitoring_collection/kibana.jsonc similarity index 100% rename from x-pack/plugins/monitoring_collection/kibana.jsonc rename to x-pack/platform/plugins/private/monitoring_collection/kibana.jsonc diff --git a/x-pack/plugins/monitoring_collection/server/config.ts b/x-pack/platform/plugins/private/monitoring_collection/server/config.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/config.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/config.ts diff --git a/x-pack/plugins/monitoring_collection/server/constants.ts b/x-pack/platform/plugins/private/monitoring_collection/server/constants.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/constants.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/constants.ts diff --git a/x-pack/plugins/monitoring_collection/server/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_es_cluster_uuid.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_es_cluster_uuid.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/get_kibana_stats.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/get_kibana_stats.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/lib/prometheus_exporter.ts b/x-pack/platform/plugins/private/monitoring_collection/server/lib/prometheus_exporter.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/lib/prometheus_exporter.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/lib/prometheus_exporter.ts diff --git a/x-pack/plugins/monitoring_collection/server/mocks.ts b/x-pack/platform/plugins/private/monitoring_collection/server/mocks.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/mocks.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/mocks.ts diff --git a/x-pack/plugins/monitoring_collection/server/plugin.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/plugin.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/plugin.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/plugin.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/plugin.ts b/x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/plugin.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/plugin.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.test.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/api/v1/prometheus/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/index.ts diff --git a/x-pack/plugins/monitoring_collection/server/routes/index.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/index.ts similarity index 100% rename from x-pack/plugins/monitoring_collection/server/routes/index.ts rename to x-pack/platform/plugins/private/monitoring_collection/server/routes/index.ts diff --git a/x-pack/plugins/monitoring_collection/tsconfig.json b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json similarity index 87% rename from x-pack/plugins/monitoring_collection/tsconfig.json rename to x-pack/platform/plugins/private/monitoring_collection/tsconfig.json index 7e27b29c24c9c..a863a06a8a0dc 100644 --- a/x-pack/plugins/monitoring_collection/tsconfig.json +++ b/x-pack/platform/plugins/private/monitoring_collection/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json index 6308c99ed72be..976f56962405f 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_platform.json @@ -221,6 +221,17 @@ } } }, + "kibana_settings": { + "properties": { + "xpack": { + "properties": { + "default_admin_email": { + "type": "text" + } + } + } + } + }, "logs_data": { "properties": { "data": { @@ -1376,6 +1387,343 @@ } } }, + "monitoring": { + "properties": { + "hasMonitoringData": { + "type": "boolean" + }, + "clusters": { + "type": "array", + "items": { + "properties": { + "license": { + "type": "keyword" + }, + "clusterUuid": { + "type": "keyword" + }, + "metricbeatUsed": { + "type": "boolean" + }, + "elasticsearch": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "kibana": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "logstash": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "beats": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + }, + "apm": { + "properties": { + "enabled": { + "type": "boolean" + }, + "count": { + "type": "long" + }, + "metricbeatUsed": { + "type": "boolean" + } + } + } + } + } + } + } + }, + "monitoringTelemetry": { + "properties": { + "stats": { + "type": "array", + "items": { + "properties": { + "timestamp": { + "type": "date" + }, + "cluster_uuid": { + "type": "keyword" + }, + "cluster_name": { + "type": "keyword" + }, + "version": { + "type": "keyword" + }, + "cluster_stats": { + "properties": {} + }, + "stack_stats": { + "properties": { + "logstash": { + "properties": { + "versions": { + "type": "array", + "items": { + "properties": { + "version": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + }, + "count": { + "type": "long" + }, + "cluster_stats": { + "properties": { + "monitoringClusterUuid": { + "type": "keyword" + }, + "collection_types": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "queues": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "plugins": { + "type": "array", + "items": { + "properties": { + "name": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + }, + "pipelines": { + "properties": { + "count": { + "type": "long" + }, + "batch_size_max": { + "type": "long" + }, + "batch_size_avg": { + "type": "long" + }, + "batch_size_min": { + "type": "long" + }, + "batch_size_total": { + "type": "long" + }, + "workers_max": { + "type": "long" + }, + "workers_avg": { + "type": "long" + }, + "workers_min": { + "type": "long" + }, + "workers_total": { + "type": "long" + }, + "sources": { + "properties": { + "DYNAMIC_KEY": { + "type": "boolean" + } + } + } + } + } + } + } + } + }, + "beats": { + "properties": { + "versions": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "types": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "outputs": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "queue": { + "properties": { + "DYNAMIC_KEY": { + "type": "long" + } + } + }, + "count": { + "type": "long" + }, + "eventsPublished": { + "type": "long" + }, + "hosts": { + "type": "long" + }, + "input": { + "properties": { + "count": { + "type": "long" + }, + "names": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "module": { + "properties": { + "count": { + "type": "long" + }, + "names": { + "type": "array", + "items": { + "type": "keyword" + } + } + } + }, + "architecture": { + "properties": { + "count": { + "type": "long" + }, + "architectures": { + "type": "array", + "items": { + "properties": { + "name": { + "type": "keyword" + }, + "architecture": { + "type": "keyword" + }, + "count": { + "type": "long" + } + } + } + } + } + }, + "heartbeat": { + "properties": { + "monitors": { + "type": "long" + }, + "endpoints": { + "type": "long" + }, + "DYNAMIC_KEY": { + "properties": { + "monitors": { + "type": "long" + }, + "endpoints": { + "type": "long" + } + } + } + } + }, + "functionbeat": { + "properties": { + "functions": { + "properties": { + "count": { + "type": "long" + } + } + } + } + } + } + } + } + }, + "collection": { + "type": "keyword" + }, + "collectionSource": { + "type": "keyword" + } + } + } + } + } + }, "rollups": { "properties": { "index_patterns": { diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index 23217d63a3387..d11422251e6ab 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -12686,105 +12686,6 @@ } } }, - "kibana_settings": { - "properties": { - "xpack": { - "properties": { - "default_admin_email": { - "type": "text" - } - } - } - } - }, - "monitoring": { - "properties": { - "hasMonitoringData": { - "type": "boolean" - }, - "clusters": { - "type": "array", - "items": { - "properties": { - "license": { - "type": "keyword" - }, - "clusterUuid": { - "type": "keyword" - }, - "metricbeatUsed": { - "type": "boolean" - }, - "elasticsearch": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "kibana": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "logstash": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "beats": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - }, - "apm": { - "properties": { - "enabled": { - "type": "boolean" - }, - "count": { - "type": "long" - }, - "metricbeatUsed": { - "type": "boolean" - } - } - } - } - } - } - } - }, "reporting": { "properties": { "available": { diff --git a/yarn.lock b/yarn.lock index c4c25c2ae4933..7b067523f9c3d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6413,11 +6413,11 @@ version "0.0.0" uid "" -"@kbn/monitoring-collection-plugin@link:x-pack/plugins/monitoring_collection": +"@kbn/monitoring-collection-plugin@link:x-pack/platform/plugins/private/monitoring_collection": version "0.0.0" uid "" -"@kbn/monitoring-plugin@link:x-pack/plugins/monitoring": +"@kbn/monitoring-plugin@link:x-pack/platform/plugins/private/monitoring": version "0.0.0" uid ""