def write_job_run_report_header()

in scale_test_tool/helper/scale_test_output_generator.py [0:0]


def write_job_run_report_header(report_file_path):
    os.makedirs(os.path.dirname(report_file_path), exist_ok=True)
    with open(report_file_path, mode='w') as csv_file:
        fieldnames = ['job_id', 'virtual_cluster_id', 'state', 'state_details', 'job_created_at',
                      'job_finished_at', 'job_latency']
        writer = csv.DictWriter(csv_file, fieldnames=fieldnames)
        writer.writeheader()