Explore: Do not send explicit maxDataPoints for logs. (#19235)

This commit is contained in:
Andrej Ocenas authored and GitHub committed 2019-09-24 16:20:45 +02:00
1 parent bb0a438705
commit f203e82b40
1 file changed
+3 -2
+3 -2
View File
@@ -466,8 +466,9 @@ export function runQueries(exploreId: ExploreId): ThunkResult<void> {
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,