[ 
https://issues.apache.org/jira/browse/IGNITE-24108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17908410#comment-17908410
 ] 

Pavel Tupitsyn commented on IGNITE-24108:
-----------------------------------------

Merged to main: 
https://github.com/apache/ignite-3/commit/4d2c8971f1887db32e19b7123021792907e5a25c

> Thin 3.0: Metrics are not visible in jconsole
> ---------------------------------------------
>
>                 Key: IGNITE-24108
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24108
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Critical
>              Labels: ignite-3, important
>             Fix For: 3.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> * Start Ignite client
> * Run jconsole, open MBeans tab - there are no metrics
> *TcpIgniteClient.initMetricManager* logic is incorrect, should be:
> {code:java}
>         var metricManager = new MetricManagerImpl(ClientUtils.logger(cfg, 
> MetricManagerImpl.class));
>         metricManager.registerSource(metrics);
>         metricManager.enable(metrics);
>         metricManager.start(List.of(new JmxExporter(ClientUtils.logger(cfg, 
> JmxExporter.class))));
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to