def get_simulation_priority_value(simulation_result, data_item, target_priority):
    """
    Collect a priority metric from the simulation.
    :param simulation_result: Metrics on simulation
    :param data_item: Metric name
    :param target_priority: Priority
    :return: List of values from simulation.
    """

    resolved_samples = [data[data_item] for data in simulation_result['results_per_priority'] if
                        data['priority'] == target_priority][0]

    return resolved_samples