From f203e82b405df70ec161eba7d3ebb8b34deebae1 Mon Sep 17 00:00:00 2001 From: Andrej Ocenas Date: Tue, 24 Sep 2019 16:20:45 +0200 Subject: [PATCH] Explore: Do not send explicit maxDataPoints for logs. (#19235) --- public/app/features/explore/state/actions.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/app/features/explore/state/actions.ts b/public/app/features/explore/state/actions.ts index cd711839bae..a6397473f7c 100644 --- a/public/app/features/explore/state/actions.ts +++ b/public/app/features/explore/state/actions.ts @@ -466,8 +466,9 @@ export function runQueries(exploreId: ExploreId): ThunkResult { const queryOptions = { minInterval, - // This is used for logs streaming for buffer size. - maxDataPoints: mode === ExploreMode.Logs ? 1000 : containerWidth, + // This is used for logs streaming for buffer size, with undefined it falls back to datasource config if it + // supports that. + maxDataPoints: mode === ExploreMode.Logs ? undefined : containerWidth, live, showingGraph, showingTable,