yaooqinn commented on a change in pull request #1363:
URL: https://github.com/apache/incubator-kyuubi/pull/1363#discussion_r750049569



##########
File path: 
kyuubi-server/src/main/scala/org/apache/kyuubi/server/api/v1/SessionsResource.scala
##########
@@ -77,19 +104,40 @@ private[v1] class SessionsResource extends 
ApiRequestContext {
     }
   }
 
+  @ApiResponse(
+    responseCode = "200",
+    content = Array(new Content(
+      mediaType = "application/json"
+    )),
+    description = "get open session count"
+  )
   @GET
   @Path("count")
   def sessionCount(): SessionOpenCount = {
     SessionOpenCount(backendService.sessionManager.getOpenSessionCount)
   }
 
+  @ApiResponse(
+    responseCode = "200",
+    content = Array(new Content(
+      mediaType = "application/json"
+    )),
+    description = "get some statistic info of sessions"

Review comment:
       get statistic info of background executors




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to