set Metrics Observer
Adds an observer that will be triggered when a metric event is handled
Parameters
metricsObserver
the MetricsObserver that is called when a new metric event is triggered
Adds an observer that will be triggered when a metric event is handled
the MetricsObserver that is called when a new metric event is triggered