Ver código fonte

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 anos atrás
pai
commit
ea4ef47982

+ 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 = '';