entity/id/"><code>Id</code></a>) that can be easily accessed without having to be passed down as props through every component.</p><p>The <code>useMetrics</code> hook lets you either get a reference to the default <a href="/api/metrics/interfaces/metrics/metrics/"><code>Metrics</code></a> object (when called without a parameter), or one of the <a href="/api/metrics/interfaces/metrics/metrics/"><code>Metrics</code></a> objects that are named by <a href="/api/common/type-aliases/identity/id/"><code>Id</code><