Commit f203e82b by Andrej Ocenas Committed by GitHub

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

parent bb0a4387
...@@ -466,8 +466,9 @@ export function runQueries(exploreId: ExploreId): ThunkResult<void> { ...@@ -466,8 +466,9 @@ export function runQueries(exploreId: ExploreId): ThunkResult<void> {
const queryOptions = { const queryOptions = {
minInterval, minInterval,
// This is used for logs streaming for buffer size. // This is used for logs streaming for buffer size, with undefined it falls back to datasource config if it
maxDataPoints: mode === ExploreMode.Logs ? 1000 : containerWidth, // supports that.
maxDataPoints: mode === ExploreMode.Logs ? undefined : containerWidth,
live, live,
showingGraph, showingGraph,
showingTable, showingTable,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment