Fires a metric using the MetricsApiClient

def fire_metric(metric_name, metric_value):
    """ Fires a metric using the MetricsApiClient
    """
    metric_value = float(metric_value)
    metric = {metric_name: metric_value}
    metric_client.fire_metrics(**metric)
    return "Fired metric <{}> with value <{}>".format(metric_name, metric_value)