summaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/task-report.js35
1 files changed, 17 insertions, 18 deletions
diff --git a/src/js/task-report.js b/src/js/task-report.js
index 82d67b1..f7d5bb6 100644
--- a/src/js/task-report.js
+++ b/src/js/task-report.js
@@ -14,9 +14,9 @@ float_tasks = [
14] 14]
15 15
16providers = [ 16providers = [
17 'bluebox',
18 'hpcloud', 17 'hpcloud',
19 'rax', 18 'rax',
19 'bluebox',
20 'ovh' 20 'ovh'
21] 21]
22 22
@@ -63,23 +63,6 @@ for(i=0; i<float_tasks.length; ++i) {
63 63
64} 64}
65 65
66 $("#graph-container").append($(new Image()).addClass('graph').graphite({
67 from: "-72hours",
68 width: 885,
69 height: 495,
70 bgcolor: 'ffffff',
71 fgcolor: '000000',
72 lineMode: 'connected',
73 title: 'Time to SSH Ready',
74 target: [
75 "alias(averageSeries(stats.timers.nodepool.launch.provider.hpcloud-b*.ready.mean), 'HP')",
76 "alias(averageSeries(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean), 'OVH')",
77 "alias(averageSeries(stats.timers.nodepool.launch.provider.bluebox-sjc1.ready.mean), 'BB')",
78 "alias(averageSeries(stats.timers.nodepool.launch.provider.rax-*.ready.mean), 'RAX')",
79 ]
80 }));
81
82
83for(i=0; i<providers.length; ++i) { 66for(i=0; i<providers.length; ++i) {
84 $("#graph-container").append($(new Image()).addClass('graph').graphite({ 67 $("#graph-container").append($(new Image()).addClass('graph').graphite({
85 from: "-72hours", 68 from: "-72hours",
@@ -113,3 +96,19 @@ for(i=0; i<jobs.length; ++i) {
113 ] 96 ]
114 })); 97 }));
115} 98}
99
100$("#graph-container").append($(new Image()).addClass('graph').graphite({
101 from: "-72hours",
102 width: 885,
103 height: 495,
104 bgcolor: 'ffffff',
105 fgcolor: '000000',
106 lineMode: 'connected',
107 title: 'Time to SSH Ready',
108 target: [
109 "alias(averageSeries(stats.timers.nodepool.launch.provider.hpcloud-b*.ready.mean), 'HP')",
110 "alias(averageSeries(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean), 'OVH')",
111 "alias(averageSeries(stats.timers.nodepool.launch.provider.bluebox-sjc1.ready.mean), 'BB')",
112 "alias(averageSeries(stats.timers.nodepool.launch.provider.rax-*.ready.mean), 'RAX')",
113 ]
114}));