Class Metrics


  • public final class Metrics
    extends java.lang.Object
    Metrics Interface. Metrics setups up the provider in use from the configuration supplied If not enabled, nothing happens, but if enabled but no specific logger default is used that uses the org.hyperledger.Performance logger
    • Method Detail

      • initialize

        public static MetricsProvider initialize​(java.util.Properties props)
        Parameters:
        props -
        Returns:
        The metrics provide
      • getProvider

        public static MetricsProvider getProvider()
        Returns:
        MetricsProvider