Enable metrics collection.
Declared in <bdlm_metricsregistry.h>
int
enableMetricsCollection();
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.
0 on success, and a non-zero value otherwise