[Core Telemetry] Fix schema (#164871)

This commit is contained in:
Alejandro Fernández Haro 2023-08-25 19:53:30 +02:00 committed by GitHub
parent b47c3e9387
commit fa6221d465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 28 additions and 0 deletions

View file

@ -101,6 +101,8 @@ export interface CoreUsageStats {
'apiCalls.savedObjectsImport.namespace.custom.kibanaRequest.no'?: number;
'apiCalls.savedObjectsImport.createNewCopiesEnabled.yes'?: number;
'apiCalls.savedObjectsImport.createNewCopiesEnabled.no'?: number;
'apiCalls.savedObjectsImport.compatibilityModeEnabled.yes'?: number;
'apiCalls.savedObjectsImport.compatibilityModeEnabled.no'?: number;
'apiCalls.savedObjectsImport.overwriteEnabled.yes'?: number;
'apiCalls.savedObjectsImport.overwriteEnabled.no'?: number;
'apiCalls.savedObjectsResolveImportErrors.total'?: number;

View file

@ -923,6 +923,20 @@ export function getCoreUsageCollector(
'How many times this API has been called without the `createNewCopiesEnabled` option.',
},
},
'apiCalls.savedObjectsImport.compatibilityModeEnabled.yes': {
type: 'long',
_meta: {
description:
'How many times this API has been called with the `compatibilityMode` option.',
},
},
'apiCalls.savedObjectsImport.compatibilityModeEnabled.no': {
type: 'long',
_meta: {
description:
'How many times this API has been called without the `compatibilityMode` option.',
},
},
'apiCalls.savedObjectsImport.overwriteEnabled.yes': {
type: 'long',
_meta: {

View file

@ -8241,6 +8241,18 @@
"description": "How many times this API has been called without the `createNewCopiesEnabled` option."
}
},
"apiCalls.savedObjectsImport.compatibilityModeEnabled.yes": {
"type": "long",
"_meta": {
"description": "How many times this API has been called with the `compatibilityMode` option."
}
},
"apiCalls.savedObjectsImport.compatibilityModeEnabled.no": {
"type": "long",
"_meta": {
"description": "How many times this API has been called without the `compatibilityMode` option."
}
},
"apiCalls.savedObjectsImport.overwriteEnabled.yes": {
"type": "long",
"_meta": {