publishAll overloads
Declared in <balm_metricsmanager.h>
Publish metrics for every category registered with the contained MetricsRegistry object. Optionally specify a resetFlag that determines if the metrics are reset as part of this operation. This operation will collect aggregated metric values for each enabled category in its metricRegistry() from registered callbacks as well as from its own CollectorRepository, and then publish those records using any publishers associated with the category. Any category that is not enabled is ignored. If resetFlag is true, the metrics being collected are reset to their default state. The metrics manager provides publishers the time interval over which a published category of metrics were collected. This interval is computed as the elapsed time since the last time the category was reset (either through a call to the publish or collectSample methods). If a category has not previously been reset then this interval is taken to be the elapsed time since the creation of this metrics manager.
void
publishAll(bool resetFlag = true);
» more...
Publish metrics for every category except those in excludedCategories.
void
publishAll(
bsl::set<Category const*> const& excludedCategories,
bool resetFlag = true);
» more...
Same as the preceding overload, using a std::pmr::set of categories.
void
publishAll(
std::pmr::set<Category const*> const& excludedCategories,
bool resetFlag = true);
» more...
Same as the preceding overload, using a std::set of categories.
void
publishAll(
std::set<Category const*> const& excludedCategories,
bool resetFlag = true);
» more...