ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Vinogradov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-1071) IgniteCache.metrics() method returns local metrics
Date Wed, 16 Mar 2016 16:55:33 GMT

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

Anton Vinogradov commented on IGNITE-1071:

Seems we have to add distributive clear method in case we want to work with cluster group
metrics. At this moment tests use g.cache(null).mxBean().clear(); which clears only local
I see that metrics sets via Heartbeat message.
Is it suitable case to add some clearMetrics flag to Heartbeat message instead of create new

Also, Val,
could you please specify what MBeans should be refactored?

> IgniteCache.metrics() method returns local metrics
> --------------------------------------------------
>                 Key: IGNITE-1071
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1071
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 1.1.4
>            Reporter: Valentin Kulichenko
>            Assignee: Anton Vinogradov
>            Priority: Minor
>              Labels: Usability
>             Fix For: 1.6
> To get metrics for the whole cluster user needs to use {{cache.metrics(ignite.cluster())}},
which is counterintuitive and inconsistent with other APIs. {{IgniteCache.metrics()}} w/o
parameters should return metrics for the whole cluster.

This message was sent by Atlassian JIRA

View raw message