Skip to content

Commit

Permalink
Explore: Do not send explicit maxDataPoints for logs. (#19235)
Browse files Browse the repository at this point in the history
  • Loading branch information
aocenas committed Sep 24, 2019
1 parent bb0a438 commit f203e82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions public/app/features/explore/state/actions.ts
Expand Up @@ -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,
Expand Down

0 comments on commit f203e82

Please sign in to comment.