problemQuery.jsp
2.24 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
<%@ page contentType="text/html; charset=utf-8"%>
<div class="text-left"> Long-url <select class="input-small" size="1" id="p_longUrl">
${model.defaultThreshold}
<option value="500">0.5 Sec</option>
<option value="1000">1.0 Sec</option>
<option value="1500">1.5 Sec</option>
<option value="2000">2.0 Sec</option>
<option value="3000">3.0 Sec</option>
<option value="5000">5.0 Sec</option>
</select>
Long-sql <select size="1" id="p_longSql" class="input-small">
${model.defaultSqlThreshold}
<option value="100">100 ms</option>
<option value="500">500 ms</option>
<option value="1000">1000 ms</option>
<option value="3000">3000 ms</option>
<option value="5000">5000 ms</option>
</select>
Long-service <select size="1" id="p_longService" class="input-small">
${model.defaultSqlThreshold}
<option value="50">50 ms</option>
<option value="100">100 ms</option>
<option value="500">500 ms</option>
<option value="1000">1000 ms</option>
<option value="3000">3000 ms</option>
<option value="5000">5000 ms</option>
</select>
Long-cache <select size="1" id="p_longCache" class="input-small">
<option value="10">10 ms</option>
<option value="50">50 ms</option>
<option value="100">100 ms</option>
<option value="500">500 ms</option>
</select>
Long-call <select size="1" id="p_longCall" class="input-small">
<option value="50">50 ms</option>
<option value="100">100 ms</option>
<option value="500">500 ms</option>
<option value="1000">1000 ms</option>
<option value="3000">3000 ms</option>
<option value="5000">5000 ms</option>
</select>
<input class="btn btn-primary btn-sm" value="查询"
onclick="longTimeChange('${model.date}','${model.domain}','${model.ipAddress}')"
type="submit"></div>
<script>
var urlThreshold='${payload.urlThreshold}';
$("#p_longUrl").val(urlThreshold) ;
var sqlThreshold='${payload.sqlThreshold}';
$("#p_longSql").val(sqlThreshold) ;
var serviceThreshold='${payload.serviceThreshold}';
$("#p_longService").val(serviceThreshold) ;
var cacheThreshold='${payload.cacheThreshold}';
$("#p_longCache").val(cacheThreshold) ;
var callThreshold='${payload.callThreshold}';
$("#p_longCall").val(callThreshold) ;
</script>