/api/metrics/interfaces/metrics/metrics/methods/getter/getmetric/" data-id="gM"><h1><code>getMetric</code></h1><p>The <code>getMetric</code> method gets the current value of a <a href="/api/metrics/type-aliases/metric/metric/"><code>Metric</code></a>.</p><pre><code><span class="function"><a href="/api/metrics/interfaces/metrics/metrics/methods/getter/getmetric/">getMetric</a></span><span class="punctuation">(</span>metricId<span class="operator">:</span> <span class="builtin">string</span><span class="punct