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

pull/19374/head
Andrej Ocenas 6 years ago committed by GitHub
parent bb0a438705
commit f203e82b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      public/app/features/explore/state/actions.ts

@ -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,

Loading…
Cancel
Save