mirror of
https://github.com/grafana/grafana.git
synced 2025-02-14 09:33:34 -06:00
updates time range options for alert queries
add some new options for the to value. removes '1s' option for from since thats unreasonable low closes #12134
This commit is contained in:
parent
60c291c8dc
commit
14688766ef
@ -8,9 +8,9 @@ const alertQueryDef = new QueryPartDef({
|
|||||||
{
|
{
|
||||||
name: 'from',
|
name: 'from',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
options: ['1s', '10s', '1m', '5m', '10m', '15m', '1h', '24h', '48h'],
|
options: ['10s', '1m', '5m', '10m', '15m', '1h', '24h', '48h'],
|
||||||
},
|
},
|
||||||
{ name: 'to', type: 'string', options: ['now'] },
|
{ name: 'to', type: 'string', options: ['now', 'now-1m', 'now-5m', 'now-10m', 'now-1h'] },
|
||||||
],
|
],
|
||||||
defaultParams: ['#A', '15m', 'now', 'avg'],
|
defaultParams: ['#A', '15m', 'now', 'avg'],
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user