[#BloombergLP-balm-MetricsManager-publishAll-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]::publishAll
:relfileprefix: ../../../
:mrdocs:

Publish metrics for every category except those in `excludedCategories`&period;

== Synopsis

Declared in `&lt;balm&lowbar;metricsmanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
publishAll(
    xref:bsl/set-0d.adoc[bsl::set&lt;Category const*&gt;] const& excludedCategories,
    bool resetFlag = true);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *excludedCategories*
| categories to omit from publication
| *resetFlag*
| if `true`, reset collected metrics to defaults
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
