|
|
|
|
@ -33,7 +33,7 @@ import { |
|
|
|
|
isDateTime, |
|
|
|
|
dateTimeForTimeZone, |
|
|
|
|
} from '@grafana/data'; |
|
|
|
|
import { ExploreId, ExploreUIState, ExploreMode } from 'app/types/explore'; |
|
|
|
|
import { ExploreId, ExploreUIState, ExploreMode, QueryOptions } from 'app/types/explore'; |
|
|
|
|
import { |
|
|
|
|
updateDatasourceInstanceAction, |
|
|
|
|
changeQueryAction, |
|
|
|
|
@ -463,12 +463,12 @@ export function runQueries(exploreId: ExploreId): ThunkResult<void> { |
|
|
|
|
|
|
|
|
|
stopQueryState(querySubscription); |
|
|
|
|
|
|
|
|
|
const queryOptions = { |
|
|
|
|
const queryOptions: QueryOptions = { |
|
|
|
|
minInterval, |
|
|
|
|
// 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, |
|
|
|
|
liveStreaming: live, |
|
|
|
|
showingGraph, |
|
|
|
|
showingTable, |
|
|
|
|
}; |
|
|
|
|
|