></li><li><a href="/api/ui-react/functions/">Functions</a></li><li><a href="/api/ui-react/functions/metrics-hooks/">Metrics hooks</a></li><li><a href="/api/ui-react/functions/metrics-hooks/usemetrics/"><code>useMetrics</code></a></li></ul></nav><section class="s1" id="/api/ui-react/functions/metrics-hooks/usemetrics/" data-id="uM2"><h1><code>useMetrics</code></h1><p>The <code>useMetrics</code> hook is used to get a reference to a <a href="/api/metrics/interfaces/metrics/metrics/"><code>Metrics</code></a> ob