[
https://issues.apache.org/jira/browse/IGNITE-2483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148760#comment-15148760
]
Vladimir Ershov commented on IGNITE-2483:
-----------------------------------------
PR https://github.com/apache/ignite/pull/479/files is available for a review.
Please consider two moments:
1) C# cache.metrics().getSize shows 0 for cache.size=1 on configuration, which
works perfectly at pure java.
2) C# doesn't support cache.metrics(ClusterGroup) call. This is important,
since default behavior changed and as for now client couldn't get
cache.metrics(forLocal) from c#.
> Cache metrics functionality for client nodes should be developed.
> -----------------------------------------------------------------
>
> Key: IGNITE-2483
> URL: https://issues.apache.org/jira/browse/IGNITE-2483
> Project: Ignite
> Issue Type: Bug
> Components: cache
> Reporter: Valentin Kulichenko
> Assignee: Vladimir Ershov
> Labels: community
> Fix For: 1.6
>
>
> User list discussion:
> http://apache-ignite-users.70518.x6.nabble.com/Is-there-a-way-to-get-cache-metrics-for-all-the-nodes-in-cluster-combined-td2674.html
> Currently there are at least three issues with cache metrics:
> # When metrics are acquired on client, average put times are always zero.
> This happens because timings are calculated on the client, but puts are
> counted on servers.
> # Size and keySize are always zero even if cache is not empty.
> # Default metrics() method that doesn't take a cluster group provides metrics
> for local node only. So if it's called on client, they are always empty. It
> should calculate metrics for the whole cluster instead.
> Also looks like this code is very undertested. Coverage should be
> significantly improved.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)