mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
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,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user