fun addMetricsObserver(observer: MetricsObserver): Unit
Subscribe to metrics events with an MetricsObserver.
observer - : MetricsObserver - The observer to subscribe to events with.
observer