luchnikovbsk commented on code in PR #10591:
URL: https://github.com/apache/ignite/pull/10591#discussion_r1165111502


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/ClientListenerProcessor.java:
##########
@@ -102,11 +109,21 @@ public class ClientListenerProcessor extends 
GridProcessorAdapter {
     /** Thin client distributed configuration. */
     private DistributedThinClientConfiguration distrThinCfg;
 
+    /** Awareness hit. */
+    private final LongAdderMetric awarenessHit;
+
+    /** Awareness miss. */
+    private final LongAdderMetric awarenessMiss;
+
     /**
      * @param ctx Kernal context.
      */
     public ClientListenerProcessor(GridKernalContext ctx) {
         super(ctx);
+
+        MetricRegistry mreg = ctx.metric().registry(CLIENT_CONNECTOR_METRICS);
+        awarenessHit = mreg.longAdderMetric(AWARENESS_HIT, "AwarenessHit 
count.");

Review Comment:
   ok



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