Skip to content

Commit 3d37f95

Browse files
[Telemetry] Server-side Migration to NP (#60485)
* [Telemetry] Migration to NP * Telemetry management advanced settings section + fix import paths + dropped support for injectVars * Fix i18nrc paths for telemetry * Move ui_metric mappings to NP registerType * Fixed minor test tweaks * Add README docs (#60443) * Add missing translation * Update the telemetryService config only when authenticated * start method is not a promise anymore * Fix mocha tests * No need to JSON.stringify the API responses * Catch handleOldSettings as we used to do * Deal with the forbidden use case in the optIn API * No need to provide the plugin name in the logger.get(). It is automatically scoped + one missing CallCluster vs. APICaller type replacement * Add empty start method in README.md to show differences with the other approach * Telemetry collection with X-Pack README * Docs update * Allow monitoring collector to send its own ES client * All collections should provide their own ES client * PR feedback * i18n NITs from kibana-platform feedback Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent 57a52a8 commit 3d37f95

149 files changed

Lines changed: 2134 additions & 1625 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.i18nrc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"server": "src/legacy/server",
3939
"statusPage": "src/legacy/core_plugins/status_page",
4040
"telemetry": [
41-
"src/legacy/core_plugins/telemetry",
42-
"src/plugins/telemetry"
41+
"src/plugins/telemetry",
42+
"src/plugins/telemetry_management_section"
4343
],
4444
"tileMap": "src/legacy/core_plugins/tile_map",
4545
"timelion": ["src/legacy/core_plugins/timelion", "src/legacy/core_plugins/vis_type_timelion", "src/plugins/timelion"],

src/legacy/core_plugins/application_usage/mappings.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/legacy/core_plugins/application_usage/package.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/legacy/core_plugins/telemetry/common/constants.ts

Lines changed: 0 additions & 83 deletions
This file was deleted.

src/legacy/core_plugins/telemetry/index.ts

Lines changed: 0 additions & 153 deletions
This file was deleted.

src/legacy/core_plugins/telemetry/mappings.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/legacy/core_plugins/telemetry/package.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/legacy/core_plugins/telemetry/public/views/management/management.tsx

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)