[jboss-jira] [JBoss JIRA] (WFLY-13604) Infinispan does not publish Statistic under object name 'javax.cache:type=CacheStatistics'
Oliver Breidenbach (Jira)
issues at jboss.org
Mon Jun 22 05:52:41 EDT 2020
[ https://issues.redhat.com/browse/WFLY-13604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14170295#comment-14170295 ]
Oliver Breidenbach commented on WFLY-13604:
-------------------------------------------
Seems to be a missunderstanding from me. I thought Wildfly uses infinispan as default jcache implementation. But it uses infinispan as default 2LC implementation. So it does not need to publish the statistics under 'javax.cache:type=CacheStatistics'.
Still it would be nice if infinispan would publish the statistices under 'javax.cache:type=CacheStatistics'. Maybe you could add it as improvement.
> Infinispan does not publish Statistic under object name 'javax.cache:type=CacheStatistics'
> ------------------------------------------------------------------------------------------
>
> Key: WFLY-13604
> URL: https://issues.redhat.com/browse/WFLY-13604
> Project: WildFly
> Issue Type: Feature Request
> Components: JPA / Hibernate
> Affects Versions: 18.0.1.Final
> Reporter: Oliver Breidenbach
> Assignee: Scott Marlow
> Priority: Major
>
> Wildfly uses inifinispan as default jcache implementation. We monitoring our application with javamelody. Javamelody expects to find the cache statistics under 'javax.cache:type=CacheStatistics' as defined by the [spec|https://www.javadoc.io/doc/javax.cache/cache-api/latest/javax/cache/CacheManager.html#enableStatistics-java.lang.String-boolean-].
> So if inifispan is used as jcache provider it must publish its statistic under {{javax.cache:type=CacheStatistics}}.
> Not sure if the failure is in how wildfly integrates inifinispan or in the infinispan-jcache module.
>
> Also see: [Missing cache statistics|https://stackoverflow.com/questions/62423799/missing-mbean-type-javax-cachetype-cachestatistics-while-using-infinispan-as-2]
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list