summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/task-report.js24
1 files changed, 18 insertions, 6 deletions
diff --git a/src/js/task-report.js b/src/js/task-report.js
index 414a06d..cb557fa 100644
--- a/src/js/task-report.js
+++ b/src/js/task-report.js
@@ -88,7 +88,6 @@ for(i=0; i<big_providers.length; ++i) {
88 88
89} 89}
90 90
91for(i=0; i<small_providers.length; ++i) {
92 $("#graph-container").append($(new Image()).addClass('graph').graphite({ 91 $("#graph-container").append($(new Image()).addClass('graph').graphite({
93 from: "-72hours", 92 from: "-72hours",
94 width: 885, 93 width: 885,
@@ -96,15 +95,28 @@ for(i=0; i<small_providers.length; ++i) {
96 bgcolor: 'ffffff', 95 bgcolor: 'ffffff',
97 fgcolor: '000000', 96 fgcolor: '000000',
98 areaMode: 'stacked', 97 areaMode: 'stacked',
99 yMax: '160', 98 yMax: '40',
100 title: small_providers[i] + " nodes launched", 99 title: "Blue Box nodes launched",
101 target: [ 100 target: [
102 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider." + small_providers[i] + "*.ready), '1h'), 'Ready'), '00ff22')", 101 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.bluebox*.ready), '1h'), 'Ready'), '00ff22')",
103 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider." + small_providers[i] + "*.error.*), '1h'), 'Error'), 'ff0000')" 102 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.bluebox*.error.*), '1h'), 'Error'), 'ff0000')"
104 ] 103 ]
105 })); 104 }));
106 105
107} 106 $("#graph-container").append($(new Image()).addClass('graph').graphite({
107 from: "-72hours",
108 width: 885,
109 height: 495,
110 bgcolor: 'ffffff',
111 fgcolor: '000000',
112 areaMode: 'stacked',
113 yMax: '160',
114 title: "OVH nodes launched",
115 target: [
116 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.ovh*.ready), '1h'), 'Ready'), '00ff22')",
117 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.ovh*.error.*), '1h'), 'Error'), 'ff0000')"
118 ]
119 }));
108 120
109for(i=0; i<jobs.length; ++i) { 121for(i=0; i<jobs.length; ++i) {
110 $("#graph-container").append($(new Image()).addClass('graph').graphite({ 122 $("#graph-container").append($(new Image()).addClass('graph').graphite({