chibenwa commented on code in PR #2483:
URL: https://github.com/apache/james-project/pull/2483#discussion_r1826961563


##########
server/protocols/jmap/src/main/java/org/apache/james/jmap/JMAPServer.java:
##########
@@ -90,10 +95,19 @@ public void start() {
                     .orElse(RANDOM_PORT))
                 .handle((request, response) -> 
handleVersionRoute(request).handleRequest(request, response))
                 .wiretap(wireTapEnabled())
+                .metrics(true, Function.identity())

Review Comment:
   ```suggestion
                   .metrics(ENABLED, Function.identity())
   ```
   
   And out of question what does `Function.identity()` allow to do?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to