Explorar o código

prometheus: change default resolution to 1/1

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

ref #9705
bergquist %!s(int64=8) %!d(string=hai) anos
pai
achega
ea4ef47982
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
     var target = this.target;
     target.expr = target.expr || '';
     target.expr = target.expr || '';
-    target.intervalFactor = target.intervalFactor || 2;
+    target.intervalFactor = target.intervalFactor || 1;
     target.format = target.format || this.getDefaultFormat();
     target.format = target.format || this.getDefaultFormat();
 
 
     this.metric = '';
     this.metric = '';