logs: scanning: add tracking (#71031)
* logs: scanning: add tracking * only report start-click when it is really doing it Co-authored-by: Matias Chomicki <matyax@gmail.com> --------- Co-authored-by: Matias Chomicki <matyax@gmail.com>
This commit is contained in:
co-authored by
Matias Chomicki
parent
1945f2b64e
commit
8f2f6d63eb
@@ -282,6 +282,10 @@ class UnthemedLogs extends PureComponent<Props, State> {
|
||||
event.preventDefault();
|
||||
if (this.props.onStartScanning) {
|
||||
this.props.onStartScanning();
|
||||
reportInteraction('grafana_explore_logs_scanning_button_clicked', {
|
||||
type: 'start',
|
||||
datasourceType: this.props.datasourceType,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user