mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Explore: Fix tracking when log results are shown (#74798)
Fix tracking logs results displayed
This commit is contained in:
@@ -583,7 +583,7 @@ export const runQueries = createAsyncThunk<void, RunQueriesOptions>(
|
||||
|
||||
newQuerySubscription = newQuerySource.subscribe({
|
||||
next(data) {
|
||||
if (data.logsResult !== null) {
|
||||
if (data.logsResult !== null && data.state === LoadingState.Done) {
|
||||
reportInteraction('grafana_explore_logs_result_displayed', {
|
||||
datasourceType: datasourceInstance.type,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user