[#BloombergLP-balm-Metric-metricId]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/Metric.adoc[Metric]::metricId
:relfileprefix: ../../../
:mrdocs:

Return a `MetricId` object identifying this metric&period;

== Synopsis

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

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

== Description

If this metric was not supplied a valid collector at construction then the returned id will be invalid (i&period;e&period;, `metricId()&period;isValid() &equals;&equals; false`)&period;

== Return Value

`MetricId` identifying this metric


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