wuchunfu commented on code in PR #83: URL: https://github.com/apache/bigtop-manager/pull/83#discussion_r1797968751
########## bigtop-manager-server/src/main/java/org/apache/bigtop/manager/server/controller/MonitoringController.java: ########## @@ -42,6 +42,21 @@ public class MonitoringController { @Operation(summary = "agent healthy", description = "agent healthy check") @GetMapping("agenthealthy") public ResponseEntity<JsonNode> agentHostsHealthyStatus() { + // 以json格式返回 响应结果 参数即为数据 数据格式为 json return ResponseEntity.success(monitoringService.queryAgentsHealthyStatus()); } + + @Operation(summary = "agent Info", description = "agent info query") + @GetMapping("agentinfo") + public ResponseEntity<JsonNode> queryAgentsInfo() { + // 以json格式返回 响应结果 参数即为数据 数据格式为 json Review Comment: Same as above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@bigtop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org