From ccac8d2294e61455dd1e5573fcd4a97581cfb9de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=9Alusarczyk?= Date: Tue, 1 Dec 2020 15:34:15 +0100 Subject: [PATCH] Alerting: Update alertDef.ts with more time options (#29498) there was a troublesome jump between time ranges of 1h and 24h in previous version --- public/app/features/alerting/state/alertDef.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/alerting/state/alertDef.ts b/public/app/features/alerting/state/alertDef.ts index f41065365ee..489ad3bfae2 100644 --- a/public/app/features/alerting/state/alertDef.ts +++ b/public/app/features/alerting/state/alertDef.ts @@ -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'] }, ],