develop
parent
368d5b337d
commit
57a678272e
|
@ -37,6 +37,10 @@ public class ApiController {
|
|||
@RequestParam(value = "limit", required = false, defaultValue = "5") Integer limit,
|
||||
@Value(Common.REQ_CONTEXT) RequestContext context,
|
||||
HttpServletRequest request) {
|
||||
log.info("type:" + type);
|
||||
log.info("vendorId:" + vendorId);
|
||||
log.info("vendorType:" + vendorType);
|
||||
log.info("limit:" + limit);
|
||||
LineChartResult chart = switch (type) {
|
||||
case "hostCpu" -> this.topService.topOfHostCpu(vendorId, limit);
|
||||
case "hostMem" -> this.topService.topOfHostMem(vendorId, limit);
|
||||
|
|
Loading…
Reference in New Issue