'Report the collected custom metrics to New Relic.'

@classmethod
def _batch_report(cls):

    if (not newrelic):
        return
    metrics_cache = cls._get_metrics_cache()
    for (metric_name, metric_value) in metrics_cache.iteritems():
        newrelic.agent.add_custom_parameter(metric_name, metric_value)
