Class GlobalMetricsConfigurationBuilder

java.lang.Object
org.infinispan.configuration.global.GlobalMetricsConfigurationBuilder
All Implemented Interfaces:
Builder<GlobalMetricsConfiguration>, GlobalConfigurationChildBuilder

public class GlobalMetricsConfigurationBuilder extends Object implements Builder<GlobalMetricsConfiguration>
Configures the types of metrics gathered and exported via Micrometer metrics for all caches owned by this Cache Manager. Gauges do not have any performance penalty so are enabled by default. Histograms are more expensive to compute so must be enabled manually. Enabling metrics in configuration has no effect unless the necessary Micrometer JAR is available on the classpath.