Explore: Set default time range to now-1h (#81135)
Update default time range in Explore back to now-1h
This commit is contained in:
1 parent
5e88d29814
commit
ebe8c005ce
2 files changed
+3
-3
No files matched your search
@@ -20,8 +20,8 @@ export const v0Migrator: MigrationHandler<never, ExploreURLV0> = {
|
||||
datasource: null,
|
||||
queries: [],
|
||||
range: {
|
||||
from: 'now-6h',
|
||||
to: 'now',
|
||||
from: DEFAULT_RANGE.from,
|
||||
to: DEFAULT_RANGE.to,
|
||||
},
|
||||
},
|
||||
schemaVersion: 0,
|
||||
|
||||
@@ -32,7 +32,7 @@ import { getDatasourceSrv } from '../../plugins/datasource_srv';
|
||||
import { loadSupplementaryQueries } from '../utils/supplementaryQueries';
|
||||
|
||||
export const DEFAULT_RANGE = {
|
||||
from: 'now-6h',
|
||||
from: 'now-1h',
|
||||
to: 'now',
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user