redis-live.html
8.45 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="zh_CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Redis</title>
<link rel="stylesheet" href="/dist/css/redis-live.css" />
</head>
<body>
<header class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
<a class="pure-menu-heading" href="">Redis</a>
<ul class="pure-menu-list pure-form">
<li class="pure-menu-item pure-menu-selected" id="">
<select id="cloudSelect">
</select>
</li>
<li class="pure-menu-item pure-menu-selected" id="">
<select id="clusterSelect">
</select>
</li>
</ul>
</header>
<div class="gragh-box">
<section class="sct-s-p">
<h4>服务器列表</h4>
<div id="srvList" class="box srv-list-box">
</div>
</section>
<section class="sct-s-p">
<h4>服务器单项指标</h4>
<div class="pure-form top-box">
<select name="" id="srvTimeSelect">
<option value="5">5分钟</option>
<option value="30">30分钟</option>
<option value="60">1小时</option>
<option value="120">2小时</option>
<option value="180">3小时</option>
<option value="360">6小时</option>
<option value="720">12小时</option>
<option value="1440">24小时</option>
</select>
<select name="" id="srvGraphSelect">
</select>
</div>
<div id="srv" class="graph-box"></div>
</section>
<section class="sct-s-p">
<h4>命令总数</h4>
<div class="pure-form top-box">
<select name="" id="cpSelect">
<option value="5">5分钟</option>
<option value="30">30分钟</option>
<option value="60">1小时</option>
<option value="120">2小时</option>
<option value="180">3小时</option>
<option value="360">6小时</option>
<option value="720">12小时</option>
<option value="1440">24小时</option>
</select>
</div>
<div id="cp" class="graph-box"></div>
</section>
<section class="sct-s-p">
<h4>全集群读写并发</h4>
<div class="pure-form top-box">
<select name="" id="mcSelect">
<option value="5">5分钟</option>
<option value="30">30分钟</option>
<option value="60">1小时</option>
<option value="120">2小时</option>
<option value="180">3小时</option>
<option value="360">6小时</option>
<option value="720">12小时</option>
<option value="1440">24小时</option>
</select>
</div>
<div id="mc" class="graph-box"></div>
</section>
<section class="sct-s-p">
<h4>Top CMD</h4>
<div class="pure-form top-box">
<select name="" id="tcSelect">
<option value="5">5分钟</option>
<option value="30">30分钟</option>
<option value="60">1小时</option>
<option value="120">2小时</option>
<option value="180">3小时</option>
<option value="360">6小时</option>
<option value="720">12小时</option>
<option value="1440">24小时</option>
</select>
</div>
<div class="box table-box">
<table class="pure-table">
<thead>
<tr>
<th>keyTemplate</th>
<th>context</th>
<th>command</th>
<th>write</th>
<th>read</th>
<th>struct</th>
<th>sync</th>
<th>ip</th>
</tr>
</thead>
<tbody id="tcTbody"></tbody>
</table>
</div>
</section>
<section class="sct-s-p">
<h4>Top 命中率低</h4>
<div class="pure-form top-box">
<select name="" id="tmSelect">
<option value="5">5分钟</option>
<option value="30">30分钟</option>
<option value="60">1小时</option>
<option value="120">2小时</option>
<option value="180">3小时</option>
<option value="360">6小时</option>
<option value="720">12小时</option>
<option value="1440">24小时</option>
</select>
</div>
<div class="box table-box">
<table class="pure-table">
<thead>
<tr>
<th>keyTemplate</th>
<th>context</th>
<th>hitRate</th>
<th>write</th>
<th>read</th>
<th>struct</th>
<th>sync</th>
<th>ip</th>
</tr>
</thead>
<tbody id="tmTbody"></tbody>
</table>
</div>
</section>
<section class="sct-s-p">
<h4>RedisOpsStatistics</h4>
<div class="pure-form top-box">
<span class="total-page">总页数:<span id="totalPage"></span></span>
<select name="" id="rosSelect">
<option value="5">5分钟</option>
<option value="30">30分钟</option>
<option value="60">1小时</option>
<option value="120">2小时</option>
<option value="180">3小时</option>
<option value="360">6小时</option>
<option value="720">12小时</option>
<option value="1440">24小时</option>
</select>
<button type="button" class="pure-button pure-button-primary" id="rosFilterBtn">筛选</button>
<input type="text" placeholder="服务" id="keyTemplateInput">
<input type="text" placeholder="模板key" id="contextInput">
</div>
<div class="box table-box">
<table class="pure-table pure-table-horizontal">
<thead>
<tr>
<th>模板key</th>
<!-- <th>响应时间</th> -->
<!-- <th>命令总数</th> -->
<th>服务</th>
<!-- <th>err</th> -->
<th>err率</th>
<!-- <th>get</th> -->
<!-- <th>hit</th> -->
<th>hit率</th>
<!-- <th>incrOrdecr</th> -->
<th>IP</th>
<th>读</th>
<th>读并发</th>
<th>响应时间(ms)</th>
<th>结构</th>
<th>同步</th>
<th>超时</th>
<th>写并发</th>
<th>写</th>
</tr>
</thead>
<tbody id="rosTbody"></tbody>
</table>
<div id="pageSlipt" class="page-slipt">
<button class="pure-button first">首页</button>
<button class="pure-button prev pure-button-disabled">上一页</button>
<button class="pure-button next">下一页</button>
<button class="pure-button last">末页</button>
</div>
</div>
<div id="cp" class="graph-box"></div>
</section>
</div>
<script src="/dist/js/redis-live.js"></script>
</body>
</html>