This class implements a transferable registry of metrics.
Synopsis
Declared in <bdlm_metricsregistry.h>
class MetricsRegistry;
Description
This class implements a mechanism that provides a registry of metrics that is transferable to implementations of the bdlm::MetricsAdapter protocol. This class is usually a singleton.
Type Aliases
Name |
Description |
This |
|
This |
Member Functions
Name |
Description |
|
Create a registry that can forward metric registrations to an adapter. |
|
Unregister all registered metrics and destroy this |
Return the allocator used by this object to supply memory. |
|
Disable metrics collection. |
|
Enable metrics collection. |
|
Return the number of registered metrics collection callbacks. |
|
Register a metric collection callback and load a handle into |
|
Remove |
|
Configure this registry to use the specified |
|
|
Declare that this type uses a |
Static Member Functions
Name |
Description |
Return a non‐`const` reference to the metrics registry singleton. |
Created with MrDocs