Skip to content

Commit

Permalink
[Telemetry] Server-side Migration to NP (#60485)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
afharo and elasticmachine committed Mar 23, 2020
1 parent d8d06e7 commit 452193f
Show file tree
Hide file tree
Showing 149 changed files with 2,128 additions and 1,621 deletions.
4 changes: 2 additions & 2 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"server": "src/legacy/server",
"statusPage": "src/legacy/core_plugins/status_page",
"telemetry": [
"src/legacy/core_plugins/telemetry",
"src/plugins/telemetry"
"src/plugins/telemetry",
"src/plugins/telemetry_management_section"
],
"tileMap": "src/legacy/core_plugins/tile_map",
"timelion": ["src/legacy/core_plugins/timelion", "src/legacy/core_plugins/vis_type_timelion", "src/plugins/timelion"],
Expand Down
36 changes: 0 additions & 36 deletions src/legacy/core_plugins/application_usage/mappings.ts

This file was deleted.

4 changes: 0 additions & 4 deletions src/legacy/core_plugins/application_usage/package.json

This file was deleted.

83 changes: 0 additions & 83 deletions src/legacy/core_plugins/telemetry/common/constants.ts

This file was deleted.

153 changes: 0 additions & 153 deletions src/legacy/core_plugins/telemetry/index.ts

This file was deleted.

30 changes: 0 additions & 30 deletions src/legacy/core_plugins/telemetry/mappings.json

This file was deleted.

4 changes: 0 additions & 4 deletions src/legacy/core_plugins/telemetry/package.json

This file was deleted.

This file was deleted.

Loading

0 comments on commit 452193f

Please sign in to comment.