|
|
@ -70,7 +70,6 @@ import { |
|
|
|
} from './actionTypes'; |
|
|
|
} from './actionTypes'; |
|
|
|
import { ResultProcessor } from '../utils/ResultProcessor'; |
|
|
|
import { ResultProcessor } from '../utils/ResultProcessor'; |
|
|
|
import { updateLocation } from '../../../core/actions'; |
|
|
|
import { updateLocation } from '../../../core/actions'; |
|
|
|
import { Emitter } from 'app/core/core'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const DEFAULT_RANGE = { |
|
|
|
export const DEFAULT_RANGE = { |
|
|
|
from: 'now-6h', |
|
|
|
from: 'now-6h', |
|
|
@ -115,7 +114,7 @@ export const makeExploreItemState = (): ExploreItemState => ({ |
|
|
|
update: makeInitialUpdateState(), |
|
|
|
update: makeInitialUpdateState(), |
|
|
|
latency: 0, |
|
|
|
latency: 0, |
|
|
|
supportedModes: [], |
|
|
|
supportedModes: [], |
|
|
|
mode: (null as unknown) as ExploreMode, |
|
|
|
mode: null, |
|
|
|
isLive: false, |
|
|
|
isLive: false, |
|
|
|
isPaused: false, |
|
|
|
isPaused: false, |
|
|
|
urlReplaced: false, |
|
|
|
urlReplaced: false, |
|
|
@ -124,7 +123,7 @@ export const makeExploreItemState = (): ExploreItemState => ({ |
|
|
|
graphResult: null, |
|
|
|
graphResult: null, |
|
|
|
logsResult: null, |
|
|
|
logsResult: null, |
|
|
|
dedupStrategy: LogsDedupStrategy.none, |
|
|
|
dedupStrategy: LogsDedupStrategy.none, |
|
|
|
eventBridge: (null as unknown) as Emitter, |
|
|
|
eventBridge: null, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
export const createEmptyQueryResponse = (): PanelData => ({ |
|
|
|
export const createEmptyQueryResponse = (): PanelData => ({ |
|
|
|