[#BloombergLP-balm-MetricRegistry-setFormat] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/MetricRegistry.adoc[MetricRegistry]::setFormat :relfileprefix: ../../../ :mrdocs: Set the format for the specified `metricId` to the specified `format`. Note that there is no uniform specification for how publisher implementations will interpret the supplied `format`. Also note that the format for a metric is accessed through the `balm::MetricDescription`. For example: ` metric.description()‐>format(); ` == Synopsis Declared in `<balm_metricregistry.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setFormat( xref:BloombergLP/balm/MetricId.adoc[MetricId] const& metricId, xref:BloombergLP/balm/MetricFormat.adoc[MetricFormat] const& format); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#