完成预览卡片列表加载以及数据定时刷新
This commit is contained in:
parent
42b6c9370d
commit
7dc1b8218b
@ -29,7 +29,7 @@ public class RequestLogFilter extends OncePerRequestFilter {
|
||||
@Resource
|
||||
SnowflakeIdGenerator generator;
|
||||
|
||||
private final Set<String> ignores = Set.of("/swagger-ui", "/v3/api-docs", "/monitor/runtime");
|
||||
private final Set<String> ignores = Set.of("/swagger-ui", "/v3/api-docs", "/monitor/runtime", "/api/monitor/list");
|
||||
|
||||
@Override
|
||||
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
|
||||
|
@ -47,7 +47,7 @@ const copyIp = () => {
|
||||
<i class="fa-solid fa-microchip"></i>
|
||||
<span style="margin-right: 10px">{{` ${data.cpuCore} CPU`}}</span>
|
||||
<i class="fa-solid fa-memory"></i>
|
||||
<span>{{` ${data.memory} GB`}}</span>
|
||||
<span>{{` ${data.memory.toFixed(1)} GB`}}</span>
|
||||
</div>
|
||||
<div class="progress">
|
||||
<span>{{ `CPU: ${(data.cpuUsage * 100).toFixed(1)} %` }}</span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user