dashboard: change text of p_qps and b_qps to be more intuitive in monitoring page (#398)
This commit is contained in:
parent
6c70c94e44
commit
6dfe8e3098
|
|
@ -131,10 +131,10 @@ app.controller('MetricCtl', ['$scope', '$stateParams', 'MetricService', '$interv
|
|||
allowAllCanceled: true,
|
||||
itemFormatter: function (val) {
|
||||
if ('passQps' === val) {
|
||||
return 'p_qps';
|
||||
return 'p_qps(通过 QPS)';
|
||||
}
|
||||
if ('blockQps' === val) {
|
||||
return 'b_qps';
|
||||
return 'b_qps(拒绝 QPS)';
|
||||
}
|
||||
return val;
|
||||
},
|
||||
|
|
|
|||
|
|
@ -51,9 +51,9 @@
|
|||
<thead>
|
||||
<tr style="font-size: 13px;text-align:center;font-weight: bold;">
|
||||
<td style="word-wrap:break-word;word-break:break-all;">时间</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;" title="passQps: 通过的qps">p_qps</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;" title="blockQps: 拦截的qps">b_qps</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;" title="responseTime: 响应时间(毫秒)">rt(ms)</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;" title="passQps: 通过的qps">通过QPS</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;" title="blockQps: 拦截的qps">拒绝QPS</td>
|
||||
<td style="word-wrap:break-word;word-break:break-all;" title="responseTime: 响应时间(毫秒)">响应时间(ms)</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<!-- thead -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue