Explore: Fix tracking when log results are shown (#74798)
Fix tracking logs results displayed
This commit is contained in:
1 parent
df014cd780
commit
e4ea62b3af
1 file changed
+1
-1
@@ -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