def METHOD_NAME(current_capture_rate, current_metrics_data):
    """Takes metrics_data and aggregates it into the current aggregated rates
    if enough time has passed. If an aggregation happens it the new
    aggregate values are logged.
    """
    if current_capture_rate <= _seconds_since_datetime(
            current_metrics_data['window_start_time']):
        _aggregate_rates(current_capture_rate, current_metrics_data)