diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/task-report.html | 109 |
1 files changed, 96 insertions, 13 deletions
diff --git a/src/task-report.html b/src/task-report.html index fc78561..d2c6081 100644 --- a/src/task-report.html +++ b/src/task-report.html | |||
@@ -1,25 +1,108 @@ | |||
1 | <html xmlns="http://www.w3.org/1999/xhtml" | ||
2 | xmlns:py="http://genshi.edgewall.org/" | ||
3 | lang="en"> | ||
4 | <HEAD> | ||
5 | <TITLE>Task Report</TITLE> | ||
1 | 6 | ||
2 | <html> | 7 | <script type="text/javascript" |
3 | <body> | 8 | src="http://status.openstack.org/jquery.min.js"></script> |
9 | <script type="text/javascript" | ||
10 | src="http://status.openstack.org/jquery-visibility.min.js"></script> | ||
11 | <script type="text/javascript" | ||
12 | src="http://status.openstack.org/jquery-graphite.js"></script> | ||
13 | <script type="text/javascript" | ||
14 | src="http://status.openstack.org/common.js"></script> | ||
15 | <script type="text/javascript" | ||
16 | src="status.js"></script> | ||
4 | 17 | ||
5 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=CreateServer%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.CreateServerTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.CreateServerTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.CreateServerTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.CreateServerTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.CreateServerTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 18 | </HEAD> |
6 | 19 | ||
7 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=DeleteServer%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.DeleteServerTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.DeleteServerTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.DeleteServerTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.DeleteServerTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.DeleteServerTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 20 | <BODY> |
8 | 21 | ||
9 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=ListServers%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.ListServersTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.ListServersTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.ListServersTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.ListServersTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.ListServersTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 22 | <div class="container" id="graph-container"> |
23 | <h2> Job Stats </h2> | ||
10 | 24 | ||
11 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=AddFloatingIP%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.AddFloatingIPTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.AddFloatingIPTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.AddFloatingIPTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.AddFloatingIPTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.AddFloatingIPTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 25 | <script type="text/javascript"> |
26 | $.fn.graphite.defaults.url = "http://graphite.openstack.org/render/"; | ||
27 | tasks = [ | ||
28 | 'CreateServer', | ||
29 | 'DeleteServer', | ||
30 | 'ListServers' | ||
31 | ]; | ||
12 | 32 | ||
13 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=CreateFloatingIP%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.CreateFloatingIPTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.CreateFloatingIPTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.CreateFloatingIPTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.CreateFloatingIPTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.CreateFloatingIPTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 33 | float_tasks = [ |
34 | 'AddFloatingIP', | ||
35 | 'CreateFloatingIP', | ||
36 | 'DeleteFloatingIP', | ||
37 | 'GetFloatingIP', | ||
38 | 'ListFloatingIPs' | ||
39 | ] | ||
14 | 40 | ||
15 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=GetFloatingIP%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.GetFloatingIPTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.GetFloatingIPTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.GetFloatingIPTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.GetFloatingIPTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.GetFloatingIPTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 41 | providers = [ |
42 | 'hpcloud', | ||
43 | 'rax', | ||
44 | 'tripleo', | ||
45 | 'ovh' | ||
46 | ] | ||
16 | 47 | ||
17 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=DeleteFloatingIP%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.DeleteFloatingIPTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.DeleteFloatingIPTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.DeleteFloatingIPTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.DeleteFloatingIPTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.DeleteFloatingIPTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 48 | for(i=0; i<tasks.length; ++i) { |
18 | 49 | ||
19 | <img src='http://graphite.openstack.org/render/?from=-72hours&title=ListFloatingIPs%20Times&width=885&height=495&_salt=1399393247.759&target=alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*.ListFloatingIPsTask.mean)%2C%27HP%27)&target=alias(stats.timers.nodepool.task.rax-dfw*.ListFloatingIPsTask.mean%2C%27DFW%27)&target=alias(stats.timers.nodepool.task.rax-iad*.ListFloatingIPsTask.mean%2C%27IAD%27)&target=alias(stats.timers.nodepool.task.rax-ord*.ListFloatingIPsTask.mean%2C%27ORD%27))&target=alias(stats.timers.nodepool.task.tripleo-test-cloud-rh1*.DeleteFloatingIPTask.mean%2C%27TripleO%27))&lineMode=connected' /><p /> | 50 | $("#graph-container").append($(new Image()).addClass('graph').graphite({ |
51 | from: "-72hours", | ||
52 | width: 885, | ||
53 | height: 495, | ||
54 | bgcolor: 'ffffff', | ||
55 | fgcolor: '000000', | ||
56 | lineMode: 'connected', | ||
57 | title: tasks[i], | ||
58 | target: [ | ||
59 | "alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*." + tasks[i] + "Task.mean), 'HP')", | ||
60 | "alias(averageSeries(stats.timers.nodepool.task.ovh-gra1." + tasks[i] + "Task.mean), 'OVH')", | ||
61 | "alias(averageSeries(stats.timers.nodepool.task.rax-dfw." + tasks[i] + "Task.mean), 'DFW')", | ||
62 | "alias(averageSeries(stats.timers.nodepool.task.rax-iad." + tasks[i] + "Task.mean), 'IAD')", | ||
63 | "alias(averageSeries(stats.timers.nodepool.task.rax-ord." + tasks[i] + "Task.mean), 'ORD')", | ||
64 | "alias(averageSeries(stats.timers.nodepool.task.tripleo-test-cloud-rh1." + tasks[i] + "Task.mean), 'TripleO')" | ||
65 | ] | ||
66 | })); | ||
20 | 67 | ||
21 | <img src='http://graphite.openstack.org/render/?title=HP%20Cloud%201.1%20East&from=-72hours&width=885&height=495&_salt=1399342237.376&target=color%28alias%28summarize%28sumSeries%28stats_counts.nodepool.launch.provider.hpcloud-b*.ready%29%2C%20%221h%22%29%2C%20%27Ready%27%29%2C%20%2700ff22%27%29&target=color%28alias%28summarize%28sumSeries%28stats_counts.nodepool.launch.provider.hpcloud-b*.error.%2A%29%2C%20%221h%22%29%2C%20%27Error%27%29%2C%20%27ff0000%27%29&areaMode=stacked0' /><p /> | 68 | } |
22 | <img src='http://graphite.openstack.org/render/?title=Rackspace&from=-72hours&width=885&height=495&_salt=1399342237.376&target=color%28alias%28summarize%28sumSeries%28stats_counts.nodepool.launch.provider.rax-%2A.ready%29%2C%20%221h%22%29%2C%20%27Ready%27%29%2C%20%2700ff22%27%29&target=color%28alias%28summarize%28sumSeries%28stats_counts.nodepool.launch.provider.rax-%2A.error.%2A%29%2C%20%221h%22%29%2C%20%27Error%27%29%2C%20%27ff0000%27%29&areaMode=stacked0' /><p /> | ||
23 | 69 | ||
24 | </body> | 70 | for(i=0; i<float_tasks.length; ++i) { |
71 | |||
72 | $("#graph-container").append($(new Image()).addClass('graph').graphite({ | ||
73 | from: "-72hours", | ||
74 | width: 885, | ||
75 | height: 495, | ||
76 | bgcolor: 'ffffff', | ||
77 | fgcolor: '000000', | ||
78 | lineMode: 'connected', | ||
79 | title: float_tasks[i], | ||
80 | target: [ | ||
81 | "alias(averageSeries(stats.timers.nodepool.task.hpcloud-b*." + float_tasks[i] + "Task.mean), 'HP')", | ||
82 | "alias(averageSeries(stats.timers.nodepool.task.tripleo-test-cloud-rh1*." + float_tasks[i] + "Task.mean), 'TripleO')" | ||
83 | ] | ||
84 | })); | ||
85 | |||
86 | } | ||
87 | |||
88 | for(i=0; i<providers.length; ++i) { | ||
89 | $("#graph-container").append($(new Image()).addClass('graph').graphite({ | ||
90 | from: "-72hours", | ||
91 | width: 885, | ||
92 | height: 495, | ||
93 | bgcolor: 'ffffff', | ||
94 | fgcolor: '000000', | ||
95 | areaMode: 'stacked', | ||
96 | title: providers[i] + " success rate", | ||
97 | target: [ | ||
98 | "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider." + providers[i] + "*.ready), '1h'), 'Ready'), '00ff22')", | ||
99 | "color(alias(summarize(sumSeries(stats_counts.nodepool.launch.provider." + providers[i] + "*.error.*), '1h'), 'Ready'), 'ff0000')" | ||
100 | ] | ||
101 | })); | ||
102 | |||
103 | } | ||
104 | </script> | ||
105 | </div> | ||
106 | |||
107 | </BODY> | ||
25 | </html> | 108 | </html> |