Cleanup graphite graph
* Switch the moving average from an unclear unit (200 points) to '5hours'. '5hours' appears to be slightly larger then 200 points. so the graphs are slightly smoother, which is a good thing. * wrap the javascript strings Change-Id: I4f6f521751ab00048f1b4bfe37190f57d25c5451
This commit is contained in:
@@ -71,11 +71,26 @@ $("#graph-container").append($(new Image()).graphite({
|
||||
bgcolor: 'ffffff',
|
||||
fgcolor: '000000',
|
||||
target: [
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.FAILURE,sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.{SUCCESS,FAILURE})),200), 'gate-tempest-dsvm-neutron'),'00c868')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-tempest-dsvm-neutron.FAILURE,sum(stats.zuul.pipeline.check.job.check-tempest-dsvm-neutron.{SUCCESS,FAILURE})),200), 'check-tempest-dsvm-neutron'),'6464ff')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.FAILURE,sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.{SUCCESS,FAILURE})),200), 'gate-tempest-dsvm-full'),'00FF00')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-tempest-dsvm-full.FAILURE,sum(stats.zuul.pipeline.check.job.check-tempest-dsvm-full.{SUCCESS,FAILURE})),200), 'check-tempest-dsvm-full'),'ffbf52')",
|
||||
"color(alias(movingAverage(asPercent(stats.zuul.pipeline.check.job.check-grenade-dsvm.FAILURE,sum(stats.zuul.pipeline.check.job.check-grenade-dsvm.{SUCCESS,FAILURE})),200), 'check-grenade-dsvm'),'800080')",
|
||||
"color(alias(movingAverage(asPercent(\
|
||||
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.FAILURE,\
|
||||
sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-neutron.{SUCCESS,FAILURE})\
|
||||
),'5hours'), 'gate-tempest-dsvm-neutron'),'00c868')",
|
||||
"color(alias(movingAverage(asPercent(\
|
||||
stats.zuul.pipeline.check.job.check-tempest-dsvm-neutron.FAILURE,\
|
||||
sum(stats.zuul.pipeline.check.job.check-tempest-dsvm-neutron.{SUCCESS,FAILURE})\
|
||||
),'5hours'), 'check-tempest-dsvm-neutron'),'6464ff')",
|
||||
"color(alias(movingAverage(asPercent(\
|
||||
stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.FAILURE,\
|
||||
sum(stats.zuul.pipeline.gate.job.gate-tempest-dsvm-full.{SUCCESS,FAILURE})\
|
||||
),'5hours'), 'gate-tempest-dsvm-full'),'00FF00')",
|
||||
"color(alias(movingAverage(asPercent(\
|
||||
stats.zuul.pipeline.check.job.check-tempest-dsvm-full.FAILURE,\
|
||||
sum(stats.zuul.pipeline.check.job.check-tempest-dsvm-full.{SUCCESS,FAILURE})\
|
||||
),'5hours'), 'check-tempest-dsvm-full'),'ffbf52')",
|
||||
"color(alias(movingAverage(asPercent(\
|
||||
stats.zuul.pipeline.check.job.check-grenade-dsvm.FAILURE,\
|
||||
sum(stats.zuul.pipeline.check.job.check-grenade-dsvm.{SUCCESS,FAILURE})\
|
||||
),'5hours'), 'check-grenade-dsvm'),'800080')",
|
||||
],
|
||||
title: "Gate Failure Rates"
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user