4
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5
<meta name="viewport" content="width=device-width, initial-scale=1">
6
<!-- Latest compiled and minified CSS -->
9
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"
10
integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7"
11
crossorigin="anonymous">
13
<!-- Optional theme -->
16
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css"
17
integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r"
18
crossorigin="anonymous">
20
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
21
<!-- Latest compiled and minified JavaScript -->
23
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
24
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
25
crossorigin="anonymous"></script>
27
<!-- WIP stylings for table collapse. -->
28
<style type="text/css" media="screen">
29
table.table tr.clickable td:first-child:before {
35
table.table tr.collapsed td:first-child:before {
43
<title>Simple performance/scale reporting</title>
46
<body role="document">
47
<div class="container" role="main">
48
<div class="page-header">
49
<h1>Performance & Scale testing</h1>
52
<div class="page-header">
53
<h2>Action Timings</h2>
58
Breakdown of start and end times of an action (i.e. either
59
bootstrapping or deploying a charm).
72
<td>{{deployments.bootstrap.start}}</td>
73
<td>{{deployments.bootstrap.end}}</td>
74
<td>{{deployments.bootstrap.seconds}} Seconds</td>
76
{% for deploy in deployments.deploys %}
78
<td>Deploy {{deploy.name}}</td>
79
<td>{{deploy.timings.start}}</td>
80
<td>{{deploy.timings.end}}</td>
81
<td>{{deploy.timings.seconds}} Seconds</td>
87
{% for name in deploy.applications.keys() %}
88
<li><b>{{name}}:</b> {{deploy.applications[name]}}</li>
95
<td>Kill Controller</td>
96
<td>{{deployments.cleanup.start}}</td>
97
<td>{{deployments.cleanup.end}}</td>
98
<td>{{deployments.cleanup.seconds}} Seconds</td>
102
<div class="page-header">
103
<h1>Controller system metrics</h1>
108
System metrics are collected on the api-server(s) during the deployment
109
of charms. No metrics are collected during the bootstrap process.
114
<img src="file://{{cpu_graph}}" alt="CPU Usage Graph" />
116
<h2>Memory Usage</h2>
117
<img src="file://{{memory_graph}}" alt="Memory Usage Graph" />
119
<h2>Network Usage</h2>
120
<img src="file://{{network_graph}}" alt="Network Usage Graph" />
122
{% if mongo_graph is not none %}
123
<h2>MongoDB Action Statistics</h2>
124
<img src="file://{{mongo_graph}}" alt="MongoDB Actions Details Graph" />
127
{% if mongo_memory_graph is not none %}
128
<h2>MongoDB Memory Usage Statistics</h2>
129
<img src="file://{{mongo_memory_graph}}" alt="MongoDB Memory Usage Details Graph" />
132
<div class="page-header">
133
<h1>Log Breakdown</h1>
137
Logs broken down into 20 second chunks (to match the graphs.)
141
<ul class="nav nav-tabs" role="tablist">
142
{% for date_stamp, values in log_message_chunks|dictsort %}
143
{% set safe_date_stamp = date_stamp|replace(":", "")|replace(" ", "") %}
146
{% if loop.index == 1 %}
151
href="#{{safe_date_stamp}}"
152
aria-controls="{{safe_date_stamp}}"
161
<div class="tab-content">
162
{% for date_stamp, values in log_message_chunks|dictsort %}
163
{% set safe_date_stamp = date_stamp|replace(":", "")|replace(" ", "")|replace("(", "")|replace(")", "") %}
166
class="tab-pane {% if loop.index == 1 %}active{% endif %}"
167
id="{{safe_date_stamp}}">
168
<h4 class="text-center">Log period: <b>{{date_stamp}}</b></h4>
169
<table class="table table-condensed table-bordered">
170
{% for log_detail in values.logs|sort(attribute='timeframe') %}
171
{% set safe_timeframe = log_detail.timeframe|replace(":", "")|replace(" ", "")|replace("(", "")|replace(")", "") %}
173
data-toggle="collapse"
174
data-target="#{{safe_timeframe}}"
175
style="cursor: pointer;"
176
class="clickable active collapsed">
178
{{log_detail.timeframe}}
183
<div id="{{safe_timeframe}}" class="collapse">
185
{{log_detail.message}}
198
<footer style="background-color: #f5f5f5; height: 25px; border-top: 1px solid lightgray; padding-left: 12px;">
199
Juju Performance/Scale testing