diff --git a/src/legacy/core_plugins/kibana/index.js b/src/legacy/core_plugins/kibana/index.js index 989583742acd0..6255275b6e89b 100644 --- a/src/legacy/core_plugins/kibana/index.js +++ b/src/legacy/core_plugins/kibana/index.js @@ -147,9 +147,6 @@ export default function(kibana) { }, savedObjectSchemas: { - 'sample-data-telemetry': { - isNamespaceAgnostic: true, - }, 'kql-telemetry': { isNamespaceAgnostic: true, }, diff --git a/src/legacy/core_plugins/kibana/mappings.json b/src/legacy/core_plugins/kibana/mappings.json index af3f79588552b..fb8ee9876ed73 100644 --- a/src/legacy/core_plugins/kibana/mappings.json +++ b/src/legacy/core_plugins/kibana/mappings.json @@ -91,15 +91,5 @@ "type": "long" } } - }, - "sample-data-telemetry": { - "properties": { - "installCount": { - "type": "long" - }, - "unInstallCount": { - "type": "long" - } - } } } diff --git a/src/plugins/home/server/plugin.ts b/src/plugins/home/server/plugin.ts index d2f2d7041024e..6ea6784cd5adb 100644 --- a/src/plugins/home/server/plugin.ts +++ b/src/plugins/home/server/plugin.ts @@ -26,6 +26,7 @@ import { SampleDataRegistryStart, } from './services'; import { UsageCollectionSetup } from '../../usage_collection/server'; +import { sampleDataTelemetry } from './saved_objects'; interface HomeServerPluginSetupDependencies { usage_collection?: UsageCollectionSetup; @@ -37,6 +38,7 @@ export class HomeServerPlugin implements Plugin