[#BloombergLP-balm-MetricsManager-publish-02e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]::publish
:relfileprefix: ../../../
:mrdocs:

Publish metrics belonging to the specified `categories`&period;

== Synopsis

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

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


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