'Convenience method for contructing metric names
Takes into account any supplied prefix/suffix options'

def get_metric_name(self, metric, separator='.'):

    metric_name = metric.name
    if self.options.metric_prefix:
        metric_name = ((self.options.metric_prefix + separator) + metric_name)
    if self.options.metric_suffix:
        metric_name = ((metric_name + separator) + self.options.metric_suffix)
    return metric_name
