Package org.hyperledger.fabric.metrics
Class Metrics
- java.lang.Object
-
- org.hyperledger.fabric.metrics.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MetricsProvider
getProvider()
static MetricsProvider
initialize(java.util.Properties props)
-
-
-
Method Detail
-
initialize
public static MetricsProvider initialize(java.util.Properties props)
- Parameters:
props
-- Returns:
- The metrics provide
-
getProvider
public static MetricsProvider getProvider()
- Returns:
- MetricsProvider
-
-