Skip to content

Commit

Permalink
[Core Telemetry] Fix schema (elastic#164871)
Browse files Browse the repository at this point in the history
  • Loading branch information
afharo authored Aug 25, 2023
1 parent b47c3e9 commit fa6221d
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
12 changes: 12 additions & 0 deletions src/plugins/telemetry/schema/oss_plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit fa6221d

Please sign in to comment.