浏览代码

prometheus: change default resolution to 1/1

this should make the value of the step value more
consistant for most users

ref #9705
bergquist 8 年之前
父节点
当前提交
ea4ef47982
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      public/app/plugins/datasource/prometheus/query_ctrl.ts

+ 1 - 1
public/app/plugins/datasource/prometheus/query_ctrl.ts

@@ -23,7 +23,7 @@ class PrometheusQueryCtrl extends QueryCtrl {
 
     var target = this.target;
     target.expr = target.expr || '';
-    target.intervalFactor = target.intervalFactor || 2;
+    target.intervalFactor = target.intervalFactor || 1;
     target.format = target.format || this.getDefaultFormat();
 
     this.metric = '';