|
|
|
@ -103,9 +103,6 @@ export const makeExploreItemState = (): ExploreItemState => ({ |
|
|
|
graphIsLoading: false, |
|
|
|
graphIsLoading: false, |
|
|
|
logIsLoading: false, |
|
|
|
logIsLoading: false, |
|
|
|
tableIsLoading: false, |
|
|
|
tableIsLoading: false, |
|
|
|
supportsGraph: null, |
|
|
|
|
|
|
|
supportsLogs: null, |
|
|
|
|
|
|
|
supportsTable: null, |
|
|
|
|
|
|
|
queryKeys: [], |
|
|
|
queryKeys: [], |
|
|
|
urlState: null, |
|
|
|
urlState: null, |
|
|
|
update: makeInitialUpdateState(), |
|
|
|
update: makeInitialUpdateState(), |
|
|
|
@ -246,7 +243,6 @@ export const itemReducer = reducerFactory<ExploreItemState>({} as ExploreItemSta |
|
|
|
// Capabilities
|
|
|
|
// Capabilities
|
|
|
|
const supportsGraph = datasourceInstance.meta.metrics; |
|
|
|
const supportsGraph = datasourceInstance.meta.metrics; |
|
|
|
const supportsLogs = datasourceInstance.meta.logs; |
|
|
|
const supportsLogs = datasourceInstance.meta.logs; |
|
|
|
const supportsTable = datasourceInstance.meta.tables; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let mode = ExploreMode.Metrics; |
|
|
|
let mode = ExploreMode.Metrics; |
|
|
|
const supportedModes: ExploreMode[] = []; |
|
|
|
const supportedModes: ExploreMode[] = []; |
|
|
|
@ -274,9 +270,6 @@ export const itemReducer = reducerFactory<ExploreItemState>({} as ExploreItemSta |
|
|
|
graphIsLoading: false, |
|
|
|
graphIsLoading: false, |
|
|
|
logIsLoading: false, |
|
|
|
logIsLoading: false, |
|
|
|
tableIsLoading: false, |
|
|
|
tableIsLoading: false, |
|
|
|
supportsGraph, |
|
|
|
|
|
|
|
supportsLogs, |
|
|
|
|
|
|
|
supportsTable, |
|
|
|
|
|
|
|
StartPage, |
|
|
|
StartPage, |
|
|
|
showingStartPage: Boolean(StartPage), |
|
|
|
showingStartPage: Boolean(StartPage), |
|
|
|
queryKeys: getQueryKeys(state.queries, datasourceInstance), |
|
|
|
queryKeys: getQueryKeys(state.queries, datasourceInstance), |
|
|
|
|