+
+ {queryStats?.read_rows && (
+
+ {getYAxisFormattedValue(queryStats.read_rows?.toString(), 'short')}{' '}
+ rows
+
+ )}
+ {queryStats?.elapsed_ms && (
+ <>
+
+
+ {getYAxisFormattedValue(queryStats?.elapsed_ms?.toString(), 'ms')}
+
+ >
+ )}
+
+ )}
diff --git a/frontend/src/container/LogsExplorerViews/tests/LogsExplorerViews.test.tsx b/frontend/src/container/LogsExplorerViews/tests/LogsExplorerViews.test.tsx
index 7cd58316e875..67c3fcfe2c14 100644
--- a/frontend/src/container/LogsExplorerViews/tests/LogsExplorerViews.test.tsx
+++ b/frontend/src/container/LogsExplorerViews/tests/LogsExplorerViews.test.tsx
@@ -46,6 +46,8 @@ jest.mock(
},
);
+jest.mock('api/common/getQueryStats', () => jest.fn());
+
jest.mock('constants/panelTypes', () => ({
AVAILABLE_EXPORT_PANEL_TYPES: ['graph', 'table'],
}));
diff --git a/frontend/src/hooks/queryBuilder/useGetExplorerQueryRange.ts b/frontend/src/hooks/queryBuilder/useGetExplorerQueryRange.ts
index 04b9deac1635..13093ab254c8 100644
--- a/frontend/src/hooks/queryBuilder/useGetExplorerQueryRange.ts
+++ b/frontend/src/hooks/queryBuilder/useGetExplorerQueryRange.ts
@@ -20,6 +20,7 @@ export const useGetExplorerQueryRange = (
params?: Record