kezhenxu94 commented on code in PR #12525:
URL: https://github.com/apache/skywalking/pull/12525#discussion_r1714713940


##########
oap-server/server-query-plugin/debugging-query-plugin/src/main/java/org/apache/skywalking/oap/query/debug/DebuggingHTTPHandler.java:
##########
@@ -160,8 +160,8 @@ public String execExpression(@Param("dumpDBRsp") boolean 
dumpStorageRsp,
 
     @SneakyThrows
     @Get("/debugging/query/trace/queryBasicTraces")
-    public String queryBasicTraces(@Param("service") String service,
-                                   @Param("serviceLayer") String serviceLayer,
+    public String queryBasicTraces(@Param("service") Optional<String> service,

Review Comment:
   Based on the implementation I think `service` and `serviceLayer` are 
required and should not be `Optional`



-- 
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