summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/task-report.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/js/task-report.js b/src/js/task-report.js
index cb557fa..e963274 100644
--- a/src/js/task-report.js
+++ b/src/js/task-report.js
@@ -45,6 +45,7 @@ for(i=0; i<tasks.length; ++i) {
45 "alias(scale(averageSeries(stats.timers.nodepool.task.bluebox-sjc1." + tasks[i] + "Task.mean), '0.001'), 'BB')", 45 "alias(scale(averageSeries(stats.timers.nodepool.task.bluebox-sjc1." + tasks[i] + "Task.mean), '0.001'), 'BB')",
46 "alias(scale(averageSeries(stats.timers.nodepool.task.ovh-gra1." + tasks[i] + "Task.mean), '0.001'), 'OVH')", 46 "alias(scale(averageSeries(stats.timers.nodepool.task.ovh-gra1." + tasks[i] + "Task.mean), '0.001'), 'OVH')",
47 "alias(scale(averageSeries(stats.timers.nodepool.task.rax-*." + tasks[i] + "Task.mean), '0.001'), 'RAX')", 47 "alias(scale(averageSeries(stats.timers.nodepool.task.rax-*." + tasks[i] + "Task.mean), '0.001'), 'RAX')",
48 "alias(scale(averageSeries(stats.timers.nodepool.task.internap-*." + tasks[i] + "Task.mean), '0.001'), 'INAP')",
48 ] 49 ]
49 })); 50 }));
50 51
@@ -118,6 +119,21 @@ for(i=0; i<big_providers.length; ++i) {
118 ] 119 ]
119 })); 120 }));
120 121
122 $("#graph-container").append($(new Image()).addClass('graph').graphite({
123 from: "-72hours",
124 width: 885,
125 height: 495,
126 bgcolor: 'ffffff',
127 fgcolor: '000000',
128 areaMode: 'stacked',
129 yMax: '10',
130 title: "Internap nodes launched",
131 target: [
132 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.internap*.ready), '1h'), 'Ready'), '00ff22')",
133 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.internap*.error.*), '1h'), 'Error'), 'ff0000')"
134 ]
135 }));
136
121for(i=0; i<jobs.length; ++i) { 137for(i=0; i<jobs.length; ++i) {
122 $("#graph-container").append($(new Image()).addClass('graph').graphite({ 138 $("#graph-container").append($(new Image()).addClass('graph').graphite({
123 from: "-72hours", 139 from: "-72hours",
@@ -152,5 +168,6 @@ $("#graph-container").append($(new Image()).addClass('graph').graphite({
152 "alias(scale(averageSeries(stats.timers.nodepool.launch.provider.bluebox-sjc1.ready.mean), '0.000016'), 'BB')", 168 "alias(scale(averageSeries(stats.timers.nodepool.launch.provider.bluebox-sjc1.ready.mean), '0.000016'), 'BB')",
153 "alias(scale(averageSeries(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean), '0.000016'), 'OVH')", 169 "alias(scale(averageSeries(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean), '0.000016'), 'OVH')",
154 "alias(scale(averageSeries(stats.timers.nodepool.launch.provider.rax-*.ready.mean), '0.000016'), 'RAX')", 170 "alias(scale(averageSeries(stats.timers.nodepool.launch.provider.rax-*.ready.mean), '0.000016'), 'RAX')",
171 "alias(scale(averageSeries(stats.timers.nodepool.launch.provider.internap-*.ready.mean), '0.000016'), 'INAP')",
155 ] 172 ]
156})); 173}));