From 57a678272ecc555b6a0c4e0e283ea91b92ac9a90 Mon Sep 17 00:00:00 2001 From: yuemian Date: Mon, 14 Oct 2024 17:38:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/bocloud/cms/booter/controller/ApiController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java b/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java index 59799b8..ed74a35 100644 --- a/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java +++ b/bocloud.cms.booter/src/main/java/com/bocloud/cms/booter/controller/ApiController.java @@ -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);