[#BloombergLP-balm-DefaultMetricsManagerScopedGuard-instance]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/DefaultMetricsManagerScopedGuard.adoc[DefaultMetricsManagerScopedGuard]::instance
:relfileprefix: ../../../
:mrdocs:

Return the address of the `MetricsManager` object managed by this scoped guard&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]*
instance() const;
----

== Description

The behavior is undefined if the default instance of the metrics manager is externally destroyed, or if the returned address is retained after this scoped guard is destroyed&period;

== Return Value

address of the `MetricsManager` managed by this scoped guard


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