Commit 5d4b8b5a by Alin Sinpalean Committed by Torkel Ödegaard

Have 'Hide series with only zeros' ignore nulls (#9179)

* Prometheus: Fix actual step computation logic when a min_step is specified and the range is longer than min_step * 11000.

* Have the 'Hide series with only zeros' option also apply to series with some null values.
parent 095ac80d
......@@ -191,11 +191,10 @@ export default class TimeSeries {
this.stats.logmin = currentValue;
}
}
if (currentValue !== 0) {
this.allIsZero = false;
}
}
result.push([currentTime, currentValue]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment