mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
add telemetry for fix action (#104832)
This commit is contained in:
parent
60a9eb9e84
commit
4dae93938c
3 changed files with 22 additions and 0 deletions
|
@ -479,6 +479,7 @@ export const VisualizationWrapper = ({
|
|||
<EuiButton
|
||||
data-test-subj="errorFixAction"
|
||||
onClick={async () => {
|
||||
trackUiEvent('error_fix_action');
|
||||
const newState = await validationError.fixAction?.newState(framePublicAPI);
|
||||
dispatchLens(
|
||||
updateDatasourceState({
|
||||
|
|
|
@ -14,6 +14,13 @@ const eventsSchema: MakeSchemaFrom<LensUsage['events_30_days']> = {
|
|||
type: 'long',
|
||||
_meta: { description: 'Number of times the user opened one of the in-product help popovers.' },
|
||||
},
|
||||
error_fix_action: {
|
||||
type: 'long',
|
||||
_meta: {
|
||||
description:
|
||||
'Number of times the user used the fix action of an error displayed in the workspace.',
|
||||
},
|
||||
},
|
||||
open_formula_popover: {
|
||||
type: 'long',
|
||||
_meta: { description: 'Number of times the user opened the in-product formula help popover.' },
|
||||
|
|
|
@ -2280,6 +2280,13 @@
|
|||
"description": "Number of times the user opened one of the in-product help popovers."
|
||||
}
|
||||
},
|
||||
"error_fix_action": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description":
|
||||
"Number of times the user used the fix action of an error displayed in the workspace."
|
||||
}
|
||||
},
|
||||
"open_formula_popover": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
|
@ -2521,6 +2528,13 @@
|
|||
"description": "Number of times the user opened one of the in-product help popovers."
|
||||
}
|
||||
},
|
||||
"error_fix_action": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
"description":
|
||||
"Number of times the user used the fix action of an error displayed in the workspace."
|
||||
}
|
||||
},
|
||||
"open_formula_popover": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue