sk0x50 commented on code in PR #5901:
URL: https://github.com/apache/ignite-3/pull/5901#discussion_r2109607602


##########
modules/metrics/src/main/java/org/apache/ignite/internal/metrics/exporters/jmx/MetricSetMbean.java:
##########
@@ -75,7 +76,7 @@ public Object getAttribute(String attribute) throws 
AttributeNotFoundException {
             return ((LongMetric) metric).value();
         } else if (metric instanceof DistributionMetric) {
             return ((DistributionMetric) metric).value();
-        } else if (metric instanceof CompositeMetric) {
+        } else if (metric instanceof CompositeMetric || metric instanceof 
ObjectMetric) {

Review Comment:
   Test updated.



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to