Browse Source

feat(alerting): adds 24h and 48h duration as pre defined values

ref #7007
bergquist 9 years ago
parent
commit
ba96b88b66
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/app/features/alerting/alert_def.ts

+ 1 - 1
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']