From ba96b88b663c88736d9cef0f64d2ec18b65609e7 Mon Sep 17 00:00:00 2001 From: bergquist Date: Tue, 20 Dec 2016 09:23:05 +0100 Subject: [PATCH] feat(alerting): adds 24h and 48h duration as pre defined values ref #7007 --- public/app/features/alerting/alert_def.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/alerting/alert_def.ts b/public/app/features/alerting/alert_def.ts index ce6ae23be5b..e6bd75379b2 100644 --- a/public/app/features/alerting/alert_def.ts +++ b/public/app/features/alerting/alert_def.ts @@ -10,7 +10,7 @@ var alertQueryDef = new QueryPartDef({ type: 'query', params: [ {name: "queryRefId", type: 'string', dynamicLookup: true}, - {name: "from", type: "string", options: ['1s', '10s', '1m', '5m', '10m', '15m', '1h']}, + {name: "from", type: "string", options: ['1s', '10s', '1m', '5m', '10m', '15m', '1h', '24h', '48h']}, {name: "to", type: "string", options: ['now']}, ], defaultParams: ['#A', '5m', 'now', 'avg']