Correct latency units and format name
This commit is contained in:
parent
8edce74b85
commit
cb66b16045
|
@ -2051,10 +2051,10 @@ def format_info_benchmark_json(config, benchmark_information):
|
||||||
while len(iops_data) < max_rows:
|
while len(iops_data) < max_rows:
|
||||||
iops_data.append('')
|
iops_data.append('')
|
||||||
|
|
||||||
lat_data = [ job_details[io_class]['lat_ns']['min'],
|
lat_data = [ int(job_details[io_class]['lat_ns']['min']) / 1000,
|
||||||
job_details[io_class]['lat_ns']['max'],
|
int(job_details[io_class]['lat_ns']['max']) / 1000,
|
||||||
job_details[io_class]['lat_ns']['mean'],
|
int(job_details[io_class]['lat_ns']['mean']) / 1000,
|
||||||
job_details[io_class]['lat_ns']['stddev'],
|
int(job_details[io_class]['lat_ns']['stddev']) / 1000,
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
'',
|
'',
|
||||||
|
|
|
@ -2542,8 +2542,8 @@ def ceph_benchmark_run(pool):
|
||||||
'job', required=True
|
'job', required=True
|
||||||
)
|
)
|
||||||
@click.option(
|
@click.option(
|
||||||
'-f', '--format', 'oformat', default='pretty', show_default=True,
|
'-f', '--format', 'oformat', default='summary', show_default=True,
|
||||||
type=click.Choice(['pretty', 'json', 'json-pretty']),
|
type=click.Choice(['summary', 'json', 'json-pretty']),
|
||||||
help='Output format of benchmark information.'
|
help='Output format of benchmark information.'
|
||||||
)
|
)
|
||||||
@cluster_req
|
@cluster_req
|
||||||
|
|
Loading…
Reference in New Issue