Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-11403 RestMetricsResource fails due to NettyTransportConnectionStats.getNumberOfGlobalConnections metrics not working with jmx disabled

* this just works around the issue and returns a 0 for that metric when not computable rather than failing with a RuntimeException

  1. … 4 more files in changeset.
ISPN-11403 RestMetricsResource fails due to NettyTransportConnectionStats.getNumberOfGlobalConnections metrics not working with jmx disabled

* this just works around the issue and returns a 0 for that metric when not computable rather than failing with a RuntimeException

  1. … 4 more files in changeset.
ISPN-11389 Deprecate EmbeddedCacheManager.getStats() method because CacheContainerStats is already deprecated

  1. … 1 more file in changeset.
ISPN-11389 Deprecate EmbeddedCacheManager.getStats() method because CacheContainerStats is already deprecated

  1. … 1 more file in changeset.
ISPN-11390 Non-components cannot export metrics

* introduce AbstractMetricsRegistration.registerExternalMetrics

  1. … 10 more files in changeset.
ISPN-11390 Non-components cannot export metrics

* introduce AbstractMetricsRegistration.registerExternalMetrics

  1. … 10 more files in changeset.
ISPN-10900 Remove support for GlobalJmx.allowDuplicateDomains

  1. … 17 more files in changeset.
ISPN-11174 review comments and refactoring

  1. … 23 more files in changeset.
ISPN-11174 review comments and refactoring

  1. … 21 more files in changeset.
ISPN-11174 Add global and cache-level enable flag for microprofile metrics

* rename ApplicationMetricsRegistry to InfinispanMetricsRegistry

* rename JMXStatisticsConfiguration to StatisticsConfiguration

* rename ConfigurationBuilder.jmxStatistics() to statistics()

* add an enable flag for global JMX config and separate the flag from CacheContainerConfiguration.statistics

* fix several 'configuration' test names

  1. … 194 more files in changeset.
ISPN-11174 Add global and cache-level enable flag for microprofile metrics

* rename ApplicationMetricsRegistry to InfinispanMetricsRegistry

* rename JMXStatisticsConfiguration to StatisticsConfiguration

* rename ConfigurationBuilder.jmxStatistics() to statistics()

* add an enable flag for global JMX config and separate the flag from CacheContainerConfiguration.statistics

* fix several 'configuration' test names

  1. … 196 more files in changeset.
ISPN-10979 Make microprofile and smallrye metrics dependencies optional at runtime

* all deps are optional in POM

* implementation deals gracefully with eventual ClassNotFoundException and NoClassDefFoundError

  1. … 11 more files in changeset.
ISPN-10979 Make microprofile and smallrye metrics dependencies optional at runtime

* all deps are optional in POM

* implementation deals gracefully with eventual ClassNotFoundException and NoClassDefFoundError

  1. … 11 more files in changeset.
ISPN-11106 Export 'base' and 'vendor' microprofile metric registries

  1. … 5 more files in changeset.
Remove @public from classes

* this should only be used on packages

  1. … 2 more files in changeset.
ISPN-10946 Tests should use a MetricsRegistry per cache manager instance rather than per JVM

  1. … 5 more files in changeset.
ISPN-9660 Histogram stats

* Histogram and Timer microprofile stats

  1. … 20 more files in changeset.
ISPN-10899 Server transport and executor metrics are not unregistered on stop

* the final, fatal blow to JmxUtil

  1. … 11 more files in changeset.
ISPN-10892 JBossMBeanServerLookup is deprecated and can be removed

  1. … 1 more file in changeset.
ISPN-10887 GlobalJmxStatisticsConfiguration.allowDuplicateDomains is not implemented atomically and can fail frequently

* remove JmxUtil.buildJmxDomain and provide alternative atomic implementation

  1. … 6 more files in changeset.
ISPN-10860 Attributes with DataType.TRAIT are not metrics

  1. … 6 more files in changeset.
ISPN-10860 Attributes with DataType.TRAIT are not metrics

  1. … 6 more files in changeset.
More JMX cleanup

* no real need for synchronized init; we can pigyback on a single volatile

* extract ObjectName key constants in an interface

    • -0
    • +16
    ./ObjectNameKeys.java
  1. … 1 more file in changeset.
ISPN-10797 DefaultCacheManager.startCache(String cacheName) does not actually start it if it's stopped

* it only starts it if it was never running

  1. … 12 more files in changeset.
ISPN-10795 Unregister the cache MBean on stop

  1. … 7 more files in changeset.
ISPN-10018 Coarse-grained logging categories

* Add categories for CONFIG, PERSISTENCE, SECURITY, CONTAINER

* Send all messages with log level >= INFO to the above

  1. … 173 more files in changeset.
Remove unused legacy ResourceDMBean.MBEAN_DESCRIPTION

ISPN-10723 JMX registration cleanup

* all jmx registration should happen via CacheManagerJmxRegistration/CacheJmxRegistration

* we should not have other classes using JmxUtil.buildJmxDomain because it can lead to split domains. Better fail early.

* there are very few legitimate direct usages of JmxUtil.lookupMBeanServer; all else must go

* prefer CacheManagerJmxRegistration/CacheJmxRegistration.registerMBean over other methods

* remove PerThreadMBeanServerLookup

* remove ManagedAttribute annotation elements that are equal to their defaults

    • -28
    • +193
    ./AbstractJmxRegistration.java
    • -51
    • +33
    ./CacheManagerJmxRegistration.java
  1. … 95 more files in changeset.
ISPN-10592 Remove deprecated ComponentMetadata, ComponentMetadataRepo, ManageableComponentMetadata

* fossils of the old component registry must go: ComponentMetadata, ComponentMetadataRepo, ManageableComponentMetadata, ModuleMetadataFileFinder

  1. … 14 more files in changeset.
ISPN-10592 Refactor old JMX attribute / operation metadata classes into inner classes of MBeanMetadata

* as a consequence of removing some of the old component registry metadata we can now refactor the jmx metadata also

* JmxAttributeMetadata, JmxOperationMetadata, JmxOperationParameter and the whole of org.infinispan.factories.components can go

    • -23
    • +17
    ./ComponentsJmxRegistration.java
  1. … 9 more files in changeset.