Create a scoped guard which invokes the DefaultMetricsManager::create method. Optionally specify a basicAllocator used to obtain memory. If basicAllocator is 0, the currently installed global allocator is used. The behavior is undefined unless 0 == DefaultMetricsManager::instance() prior to creating the guard. Note that the default metrics manager instance is not configured with a publisher; clients must create a Publisher object and add it to the default metrics manager in order to publish metrics.
Declared in <balm_defaultmetricsmanager.h>
DefaultMetricsManagerScopedGuard(bslma::Allocator* basicAllocator = 0);