Create a BdlmMetricsAdapter object that uses the specified metricsManager to register and unregister collection callback functors, the specified metricNamespace as the value returned by defaultNamespace(), and the specified objectIdentifierPrefix as the value returned by defaultObjectIdentifierPrefix. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Synopsis

Declared in <balm_bdlmmetricsadapter.h>

BdlmMetricsAdapter(
    MetricsManager* metricsManager,
    std::string_view const& metricNamespace,
    std::string_view const& objectIdentifierPrefix,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs