prometheus: change default resolution to 1/1

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

ref #9705
This commit is contained in:
bergquist 2017-12-15 14:21:29 +01:00
parent a8a5f8181b
commit ea4ef47982
No known key found for this signature in database
GPG Key ID: F918C8F3C59049BE

View File

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