[#BloombergLP-balm-CollectorRepository-registry-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/CollectorRepository.adoc[CollectorRepository]::registry
:relfileprefix: ../../../
:mrdocs:

Return a reference to the non&hyphen;modifiable registry of metrics used by this collector repository&period;

== Synopsis

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

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

== Return Value

non&hyphen;modifiable reference to the metric registry


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