public function sendMetric(AbstractMetric $metric)
    {
        try {
            $this->metricFactory->addDefaultTagsToEntity($metric);
            $this->sendMetricThroughSenders($metric);
        } catch (\Exception $exception) {
            $this->logException($exception);
        }

        return $this;
    }
public function sendMetric(AbstractMetric $metric)
    {
        try {
            $this->metricFactory->addDefaultTagsToEntity($metric);
            $this->sendMetricThroughSenders($metric);
        } catch (\Exception $exception) {
            $this->logException($exception);
        }

        return $this;
    }
public function sendMetric ( AbstractMetric $ metric ) { try { $ this -> metricFactory -> addDefaultTagsToEntity ( $ metric ) ; $ this -> sendMetricThroughSenders ( $ metric ) ; } catch ( \ Exception $ exception ) { $ this -> logException ( $ exception ) ; } return $ this ; }
Sends a metric through all metric senders adding the default tags

@param AbstractMetric $metric

@return $this
Sends a metric through all metric senders adding the default tags