Alerting: Update alertDef.ts with more time options (#29498)

there was a troublesome jump between time ranges of 1h and 24h in previous version
This commit is contained in:
Paweł Ślusarczyk 2020-12-01 15:34:15 +01:00 committed by GitHub
parent 38caa80acd
commit ccac8d2294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ const alertQueryDef = new QueryPartDef({
{
name: 'from',
type: 'string',
options: ['10s', '1m', '5m', '10m', '15m', '1h', '24h', '48h'],
options: ['10s', '1m', '5m', '10m', '15m', '1h', '2h', '6h', '12h', '24h', '48h'],
},
{ name: 'to', type: 'string', options: ['now', 'now-1m', 'now-5m', 'now-10m', 'now-1h'] },
],