From bc5eed932880ce8f530ccab755b83055679a05e0 Mon Sep 17 00:00:00 2001
From: Monty Taylor <mordred@inaugust.com>
Date: Mon, 16 Nov 2015 15:25:55 -0500
Subject: Rearranged a bit

---
 src/js/task-report.js | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

(limited to 'src')

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 = [
 ]
 
 providers = [
-    'bluebox',
     'hpcloud',
     'rax',
+    'bluebox',
     'ovh'
 ]
 
@@ -63,23 +63,6 @@ for(i=0; i<float_tasks.length; ++i) {
 
 }
 
-  $("#graph-container").append($(new Image()).addClass('graph').graphite({
-      from: "-72hours",
-      width: 885,
-      height: 495,
-      bgcolor: 'ffffff',
-      fgcolor: '000000',
-      lineMode: 'connected',
-      title: 'Time to SSH Ready',
-      target: [
-          "alias(averageSeries(stats.timers.nodepool.launch.provider.hpcloud-b*.ready.mean), 'HP')",
-          "alias(averageSeries(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean), 'OVH')",
-          "alias(averageSeries(stats.timers.nodepool.launch.provider.bluebox-sjc1.ready.mean), 'BB')",
-          "alias(averageSeries(stats.timers.nodepool.launch.provider.rax-*.ready.mean), 'RAX')",
-      ]
-  }));
-
-
 for(i=0; i<providers.length; ++i) {
   $("#graph-container").append($(new Image()).addClass('graph').graphite({
       from: "-72hours",
@@ -113,3 +96,19 @@ for(i=0; i<jobs.length; ++i) {
       ]
   }));
 }
+
+$("#graph-container").append($(new Image()).addClass('graph').graphite({
+    from: "-72hours",
+    width: 885,
+    height: 495,
+    bgcolor: 'ffffff',
+    fgcolor: '000000',
+    lineMode: 'connected',
+    title: 'Time to SSH Ready',
+    target: [
+        "alias(averageSeries(stats.timers.nodepool.launch.provider.hpcloud-b*.ready.mean), 'HP')",
+        "alias(averageSeries(stats.timers.nodepool.launch.provider.ovh-gra1.ready.mean), 'OVH')",
+        "alias(averageSeries(stats.timers.nodepool.launch.provider.bluebox-sjc1.ready.mean), 'BB')",
+        "alias(averageSeries(stats.timers.nodepool.launch.provider.rax-*.ready.mean), 'RAX')",
+    ]
+}));
-- 
cgit v1.2.3