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

`publishAll` overloads

== Synopses

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

Publish metrics for every registered category&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/balm/MetricsManager/publishAll-0e.adoc[publishAll](bool resetFlag = true);
----

[.small]#xref:BloombergLP/balm/MetricsManager/publishAll-0e.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/balm/MetricsManager/publishAll-0f.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, using a `std&colon;&colon;pmr&colon;&colon;set` of categories&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BloombergLP/balm/MetricsManager/publishAll-02f.adoc[publishAll](
    std::pmr::set&lt;Category const*&gt; const& excludedCategories,
    bool resetFlag = true);
----

[.small]#xref:BloombergLP/balm/MetricsManager/publishAll-02f.adoc[_» more&period;&period;&period;_]#

Same as the preceding overload, using a `std&colon;&colon;set` of categories&period;


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

[.small]#xref:BloombergLP/balm/MetricsManager/publishAll-06.adoc[_» more&period;&period;&period;_]#

== Parameters

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


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