summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2016-02-06 16:41:43 -0600
committerMonty Taylor <mordred@inaugust.com>2016-02-06 16:41:43 -0600
commitbc9fbd9225da291a8d3a5495d30cb5ab6383bec0 (patch)
tree5ea2d2749b74ac9c2db9c5c196d24bcb413cd0eb
parentddfc5a49154f8cc923a9b1492a14a472737754c7 (diff)
Align OVH with Rackspace numbers
-rw-r--r--src/js/task-report.js22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/js/task-report.js b/src/js/task-report.js
index 8da0ef3..8df6b66 100644
--- a/src/js/task-report.js
+++ b/src/js/task-report.js
@@ -15,11 +15,12 @@ float_tasks = [
15 15
16big_providers = [ 16big_providers = [
17 'rax', 17 'rax',
18 'ovh',
18] 19]
19 20
20small_providers = [ 21small_providers = [
21 'bluebox', 22 'bluebox',
22 'ovh' 23 'internap'
23] 24]
24 25
25jobs = [ 26jobs = [
@@ -93,7 +94,7 @@ for(i=0; i<big_providers.length; ++i) {
93 bgcolor: 'ffffff', 94 bgcolor: 'ffffff',
94 fgcolor: '000000', 95 fgcolor: '000000',
95 areaMode: 'stacked', 96 areaMode: 'stacked',
96 yMax: '80', 97 yMax: '100',
97 title: "Blue Box nodes launched", 98 title: "Blue Box nodes launched",
98 target: [ 99 target: [
99 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.bluebox*.ready), '1h'), 'Ready'), '00ff22')", 100 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.bluebox*.ready), '1h'), 'Ready'), '00ff22')",
@@ -108,7 +109,7 @@ for(i=0; i<big_providers.length; ++i) {
108 bgcolor: 'ffffff', 109 bgcolor: 'ffffff',
109 fgcolor: '000000', 110 fgcolor: '000000',
110 areaMode: 'stacked', 111 areaMode: 'stacked',
111 yMax: '80', 112 yMax: '100',
112 title: "Internap nodes launched", 113 title: "Internap nodes launched",
113 target: [ 114 target: [
114 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.internap*.ready), '1h'), 'Ready'), '00ff22')", 115 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.internap*.ready), '1h'), 'Ready'), '00ff22')",
@@ -116,21 +117,6 @@ for(i=0; i<big_providers.length; ++i) {
116 ] 117 ]
117 })); 118 }));
118 119
119 $("#graph-container").append($(new Image()).addClass('graph').graphite({
120 from: "-72hours",
121 width: 885,
122 height: 495,
123 bgcolor: 'ffffff',
124 fgcolor: '000000',
125 areaMode: 'stacked',
126 yMax: '400',
127 title: "OVH nodes launched",
128 target: [
129 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.ovh*.ready), '1h'), 'Ready'), '00ff22')",
130 "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider.ovh*.error.*), '1h'), 'Error'), 'ff0000')"
131 ]
132 }));
133
134for(i=0; i<jobs.length; ++i) { 120for(i=0; i<jobs.length; ++i) {
135 $("#graph-container").append($(new Image()).addClass('graph').graphite({ 121 $("#graph-container").append($(new Image()).addClass('graph').graphite({
136 from: "-72hours", 122 from: "-72hours",