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


##########
server/protocols/jmap-rfc-8621/src/main/scala/org/apache/james/jmap/routes/WebSocketRoutes.scala:
##########
@@ -113,6 +120,10 @@ class WebSocketRoutes @Inject() 
(@Named(InjectionKeys.RFC_8621) val authenticato
         frame.content().readBytes(bytes)
         new String(bytes, StandardCharsets.UTF_8)
       })
+      .doOnNext(_ => {
+        requestCountMetric.increment()
+        requestThroughputGauge.setValue(requestCountMetric.meanRate().intValue)

Review Comment:
   Kill that gauge, it won't be performant. And we can do a derivative for that 
in grafana.



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