class MonitorController extends BaseController {

    @ApiOperation(value = "queryZookeeperState", notes = "QUERY_ZOOKEEPER_STATE_NOTES")
    @GetMapping(value = "/zookeeper/list")
    @ResponseStatus(HttpStatus.OK)
    @ApiException(QUERY_ZOOKEEPER_STATE_ERROR)
    public Result queryZookeeperState(@ApiIgnore @RequestAttribute(value = Constants.SESSION_USER) User loginUser) {
        logger.info("login user: {}, query zookeeper state", loginUser.getUserName());
        Map<String, Object> result = monitorService.queryZookeeperState(loginUser);
        return returnDataList(result);
    }

}