瀏覽代碼

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

ref #7007
bergquist 9 年之前
父節點
當前提交
ba96b88b66
共有 1 個文件被更改,包括 1 次插入1 次删除
  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']