Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

2.180. openstack metric metric create

usage: openstack metric metric create [-h] [--resource-id RESOURCE_ID]
                                      [-f {json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--noindent] [--prefix PREFIX]
                                      [--archive-policy-name ARCHIVE_POLICY_NAME]
                                      [--unit UNIT]
                                      [METRIC_NAME]
Create a metric

Positional arguments

METRIC_NAME


        Name of the metric

Optional arguments

-h, --help


        show this help message and exit

--resource-id RESOURCE_ID, -r RESOURCE_ID


      ID of the resource

--archive-policy-name ARCHIVE_POLICY_NAME, -a ARCHIVE_POLICY_NAME


      name of the archive policy

--unit UNIT, -u UNIT


        unit of the metric