add formula telemetry (#103451)
This commit is contained in:
parent
4f63abc1e5
commit
ce2fabe420
|
@ -745,7 +745,12 @@ export function FormulaEditor({
|
|||
button={
|
||||
<EuiButtonIcon
|
||||
className="lnsFormula__editorHelp lnsFormula__editorHelp--overlay"
|
||||
onClick={() => setIsHelpOpen(!isHelpOpen)}
|
||||
onClick={() => {
|
||||
if (!isHelpOpen) {
|
||||
trackUiEvent('open_formula_popover');
|
||||
}
|
||||
setIsHelpOpen(!isHelpOpen);
|
||||
}}
|
||||
iconType="documentation"
|
||||
color="text"
|
||||
size="s"
|
||||
|
|
|
@ -14,6 +14,10 @@ const eventsSchema: MakeSchemaFrom<LensUsage['events_30_days']> = {
|
|||
type: 'long',
|
||||
_meta: { description: 'Number of times the user opened one of the in-product help popovers.' },
|
||||
},
|
||||
open_formula_popover: {
|
||||
type: 'long',
|
||||
_meta: { description: 'Number of times the user opened the in-product formula help popover.' },
|
||||
},
|
||||
toggle_fullscreen_formula: {
|
||||
type: 'long',
|
||||
_meta: {
|
||||
|
|
|
@ -2190,6 +2190,10 @@
|
|||
"description": "Number of times the user opened one of the in-product help popovers."
|
||||
}
|
||||
},
|
||||
"open_formula_popover": {
|
||||
"type": "long",
|
||||
"_meta": { "description": "Number of times the user opened the in-product formula help popover." }
|
||||
},
|
||||
"toggle_fullscreen_formula": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
|
@ -2425,6 +2429,10 @@
|
|||
"description": "Number of times the user opened one of the in-product help popovers."
|
||||
}
|
||||
},
|
||||
"open_formula_popover": {
|
||||
"type": "long",
|
||||
"_meta": { "description": "Number of times the user opened the in-product formula help popover." }
|
||||
},
|
||||
"toggle_fullscreen_formula": {
|
||||
"type": "long",
|
||||
"_meta": {
|
||||
|
|
Loading…
Reference in a new issue