Enable metrics collection. If there is an associated metrics adapter, all collection callbacks will be registered with the adapter. Return 0 on success, and non-zero value otherwise. Metrics collection is enabled at construction of this registry.
Declared in <bdlm_metricsregistry.h>
int
enableMetricsCollection();