This class defines a thread‐aware mechanism for registering metrics and metric categories.
Synopsis
Declared in <balm_metricregistry.h>
class MetricRegistry;
Description
A metric is uniquely identified by its name and category, and the metric registry provides a mapping from those identifying properties to a balm::MetricId. A balm::MetricRegistry object also provides a mapping from a category name to the address of a non‐modifiable balm::Category object.
Member Functions
Name |
Description |
|
Create an empty metric registry. |
|
Destroy this metric registry. |
Add |
|
Add a metric id for |
|
Return a new unique key for associating user data with metrics. |
|
Find the registered category named |
|
Find the metric id for |
|
Append to the specified |
|
Return the category for |
|
Return a metric id for |
|
Return the number of categories in this registry. |
|
Return the number of metrics in this registry. |
|
Format this object to the specified output |
|
Register |
|
Set the enabled state of all categories to |
|
Set whether |
|
Set the format for |
|
Set the preferred publication type of |
|
|
|
|
Declare that this type uses a |
Created with MrDocs