protected function sendMetricThroughSenders(AbstractMetric $metric)
    {
        foreach ($this->metricSenders as $sender) {
            try {
                $sender->send($metric);
            } catch (\Exception $exception) {
                $this->logException($exception);
            }
        }
    }
protected function sendMetricThroughSenders(AbstractMetric $metric)
    {
        foreach ($this->metricSenders as $sender) {
            try {
                $sender->send($metric);
            } catch (\Exception $exception) {
                $this->logException($exception);
            }
        }
    }
protected function sendMetricThroughSenders ( AbstractMetric $ metric ) { foreach ( $ this -> metricSenders as $ sender ) { try { $ sender -> send ( $ metric ) ; } catch ( \ Exception $ exception ) { $ this -> logException ( $ exception ) ; } } }
Sends the metric through all senders

@param AbstractMetric $metric
Sends the metric through all senders