Bug 1045031

Summary: JON (3.2.0) -- is not displaying CacheManager statistics in monitoring tab (5 stats)
Product: [JBoss] JBoss Data Grid 6 Reporter: Tomas Sykora <tsykora>
Component: JON PluginAssignee: Tristan Tarrant <ttarrant>
Status: CLOSED NOTABUG QA Contact: Martin Gencur <mgencur>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: dmehra, gsheldon, jdg-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cache manager statistics are not displayed properly in Red Hat JBoss Operations Network when managing a remote JBoss Data Grid server. The following statistics are not displayed properly: cache-manager-status, is-coordinator, coordinator-address, local-address, cluster-name. The respective cache manager statistics are displayed properly when managing JBoss Data Grid deployed as a library (library mode). </para> <para> As a result, users cannot see the aforementioned statistics in JBoss Operations Network GUI.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-13 13:52:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Sykora 2013-12-19 13:42:23 UTC
We have found this issue during thorough server-plugin testing, ER6, after "on-fly" fix for deleting imported latest plugin during upgrade process.

Statistics for particular caches are displayed normally, however, statistics for cache managers not.

There are 5 stats which should be there:

A snippet from MetricKeys class, package org.jboss.as.clustering.infinispan.subsystem;

public static final String CACHE_MANAGER_STATUS = "cache-manager-status";
public static final String IS_COORDINATOR = "is-coordinator";
public static final String COORDINATOR_ADDRESS = "coordinator-address";
public static final String LOCAL_ADDRESS = "local-address";
public static final String CLUSTER_NAME = "cluster-name";

Metrics seems to be registered properly inside of rhq-plugin.xml file in <service name="Cache Container" ... section. 

William told that he can even see them registered using jboss-cli tool.

Operation upload-proto-file is displayed by latest plugin, so the "cache Container" section seems to be working normally. 

The question is why JON UI can't see our cache manager stats.

NOTE: cache manager statistics are working properly with InVM lib. plugin.

Comment 4 Tomas Sykora 2014-01-13 13:52:44 UTC
These statistics are properly shown under "Traits" tab. 

We were expecting them under "Metrics" tab as Library plugin provides some metrics in that place.

This BZ is not a BUG.

Comment 5 JBoss JIRA Server 2014-01-13 13:55:24 UTC
Tomas Sykora <tsykora> updated the status of jira ISPN-3857 to Closed

Comment 6 gsheldon 2014-01-13 23:39:32 UTC
Removed doc text flag.