forked from wpjunior/multi-burn-rate-calculator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
106 lines (95 loc) · 3.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Multiple Burn Rate Calculator</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
</head>
<body>
<nav class="light-blue lighten-1" role="navigation">
<div class="nav-wrapper container"><a id="logo-container" href="/" class="brand-logo">Multiple Burn Rate Calculator</a>
<a href="https://github.com/andrewaylett/multi-burn-rate-calculator" class="right">Source code</a>
</div>
</nav>
<div class="section no-pad-bot" id="index-banner">
<div class="container">
<div class="row">
<form class="col s12">
<div class="row">
<div class="input-field col s6">
<input value="99.9" id="slo" type="number" step="any" max="100" class="validate">
<label for="slo">SLO</label>
</div>
<div class="input-field col s6">
<input placeholder="How long is error budget" id="slo_window" type="number" class="validate" value="28">
<label for="slo_window">SLO Window (days)</label>
</div>
</div>
<h5>Error Budget Consumption thresholds</h5>
<table>
<thead>
<tr>
<th>Time</th>
<th/>
<th>Burn Rate</th>
<th>Budget Consumption</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input id="burn_duration_1h" type="number" step="any" value="1" /></td>
<td><label for="burn_duration_1h">hours checked for fast page</label>
</td>
<td>
<input id="burn_rate_1h" type="number" step="any" value="14.4" />
</td>
<td>
<label id="budget_consumption_1h" for="burn_rate_1h"></label>
</td>
</tr>
<tr>
<td>
<input id="burn_duration_6h" type="number" step="any" value="6" /></td>
<td><label for="burn_duration_6h">hours checked for slow page</label>
</td>
<td>
<input id="burn_rate_6h" type="number" step="any" value="6" />
</td>
<td>
<label id="budget_consumption_6h" for="burn_rate_6h"></label>
</td>
</tr>
<tr>
<td>
<input id="burn_duration_3d" type="number" step="any" value="3" /></td>
<td><label for="burn_duration_3d">days checked for ticket</label>
</td>
<td>
<input id="burn_rate_3d" type="number" step="any" value="1" />
</td>
<td>
<label id="budget_consumption_3d" for="burn_rate_3d"></label>
</td>
</tr>
</tbody>
</table>
<p>
Detection time is time to first notification.
If we don't resolve the issue, it's correct that we will receive a second notification in due course.
</p>
<h5>Detection time</h5>
<div id="detection_time" />
</form>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>
<script src="index.js"></script>
</body>
</html>