@utils.arg('<STR_LIT>', metavar='<STR_LIT>',<EOL>type=jsonutils.loads,<EOL>help='<STR_LIT>')<EOL>def do_metric_create_raw(mc, args):
try:<EOL><INDENT>mc.metrics.create(**args.jsonbody)<EOL><DEDENT>except (osc_exc.ClientException, k_exc.HttpError) as he:<EOL><INDENT>raise osc_exc.CommandError('<STR_LIT>' % (he.message, he.details))<EOL><DEDENT>else:<EOL><INDENT>print('<STR_LIT>')<EOL><DEDENT>
Create metric from raw json body.