Skip to content

metricsOf

metricsOf(system): MetricsRegistry

Defined in: src/metrics/MetricsExtension.ts:74

Convenience accessor — metricsOf(system) returns the live registry (or noop) without going through the extension chain at every call site. Used by ActorCell / Cluster instrumentation hooks where the MetricsExtensionId.get(...) boilerplate would dwarf the actual counter.inc() call.

ActorSystem

MetricsRegistry