[#BloombergLP-balm-DefaultMetricsManager-create-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/DefaultMetricsManager.adoc[DefaultMetricsManager]::create
:relfileprefix: ../../../
:mrdocs:

`create` overloads

== Synopses

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

Create the default `MetricsManager` instance&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]*
xref:BloombergLP/balm/DefaultMetricsManager/create-0c.adoc[create](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/balm/DefaultMetricsManager/create-0c.adoc[_» more&period;&period;&period;_]#

Create the default metrics manager that publishes to the specified `stream`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]*
xref:BloombergLP/balm/DefaultMetricsManager/create-06.adoc[create](
    std::ostream& stream,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

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

== Return Value

address of the created default `MetricsManager` instance

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| memory allocator&semi; null uses the default
| *stream*
| output stream to which recorded metrics are published
|===


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