pan3793 commented on a change in pull request #1319:
URL: https://github.com/apache/incubator-kyuubi/pull/1319#discussion_r740722389
##########
File path:
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSessionImpl.scala
##########
@@ -67,11 +67,13 @@ class KyuubiSessionImpl(
override def open(): Unit = {
MetricsSystem.tracing { ms =>
ms.incCount(CONN_TOTAL)
- ms.incCount(MetricRegistry.name(CONN_OPEN, user))
}
withZkClient(sessionConf) { zkClient =>
val (host, port) = engine.getOrCreate(zkClient)
openSession(host, port)
+ MetricsSystem.tracing { ms =>
+ ms.incCount(MetricRegistry.name(CONN_OPEN, user))
+ }
Review comment:
Sorry I have't seen this comment before merging, seems not a big deal
--
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]