set y axis on failure rate graph

instead of letting the yaxis drift based on whatever data we've
gotten make it a fixed range from 0 - 100 (as it is percentage).
This makes it easier to see visually when things are good or
bad on a given day.

Change-Id: Ia136ab26c9b4149d3e0cb5b1b17baa145a7a1c32
This commit is contained in:
Sean Dague 2013-12-06 17:35:16 -05:00
parent a2c26cbc0c
commit 4b0fdf2844

View File

@ -70,6 +70,8 @@ $("#graph-container").append($(new Image()).graphite({
height: 400,
bgcolor: 'ffffff',
fgcolor: '000000',
yMax: 100,
yMin: 0,
target: [
"color(alias(movingAverage(asPercent(\
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.FAILURE,\