Browse Source

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 năm trước cách đây
mục cha
commit
ea4ef47982
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = '';