Package org.hyperledger.fabric.metrics
Class Metrics
java.lang.Object
org.hyperledger.fabric.metrics.Metrics
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
Modifier and TypeMethodDescriptionstatic MetricsProvider
static MetricsProvider
initialize
(Properties props)
-
Method Details
-
initialize
- Parameters:
props
-- Returns:
- The metrics provide
-
getProvider
- Returns:
- MetricsProvider
-