Interface MetricsRegistry

All Superinterfaces:
Constants
All Known Implementing Classes:
MetricsRegistryImpl, NoMetricRegistry

public interface MetricsRegistry extends Constants
A registry for metrics.

This component should not have any dependency on any other component. Also, the tag Constants.CACHE_MANAGER_TAG_NAME should be set and match the one defined in GlobalConfiguration.cacheManagerName().

This registry should only be used if it needs to register metrics before the Transport is started. Otherwise, MetricsCollector should be used as it adds tags related to the node.