Chapter 47. metric This chapter describes the commands under the metric command. 47.1. metric aggregates Get measurements of aggregated metrics. Usage: Table 47.1. Positional arguments Value Summary operations Operations to apply to time series search A query to filter resource. the syntax is a combination of attribute, operator and value. For example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would filter resource with a certain id. More complex queries can be built, e.g.: not (flavor_id!="1" and memory>=24). Use "" to force data to be interpreted as string. Supported operators are: not, and, ∧ or, ∨, >=, ⇐, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in, like, !=, >=, <=, like, in. Table 47.2. Command arguments Value Summary -h, --help Show this help message and exit --resource-type RESOURCE_TYPE Resource type to query --start START Beginning of the period --stop STOP End of the period --granularity GRANULARITY Granularity to retrieve --needed-overlap NEEDED_OVERLAP Percentage of overlap across datapoints --groupby GROUPBY Attribute to use to group resources --fill FILL Value to use when backfilling timestamps with missing values in a subset of series. Value should be a float or null . Table 47.3. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.4. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.5. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.6. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.2. metric archive-policy create Create an archive policy. Usage: Table 47.7. Positional arguments Value Summary name Name of the archive policy Table 47.8. Command arguments Value Summary -h, --help Show this help message and exit -d <DEFINITION>, --definition <DEFINITION> Two attributes (separated by , ) of an archive policy definition with its name and value separated with a : -b BACK_WINDOW, --back-window BACK_WINDOW Back window of the archive policy -m AGGREGATION_METHODS, --aggregation-method AGGREGATION_METHODS Aggregation method of the archive policy Table 47.9. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.10. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.11. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.12. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.3. metric archive-policy delete Delete an archive policy. Usage: Table 47.13. Positional arguments Value Summary name Name of the archive policy Table 47.14. Command arguments Value Summary -h, --help Show this help message and exit 47.4. metric archive-policy list List archive policies. Usage: Table 47.15. Command arguments Value Summary -h, --help Show this help message and exit Table 47.16. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.17. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.18. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.19. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.5. metric archive-policy-rule create Create an archive policy rule. Usage: Table 47.20. Positional arguments Value Summary name Rule name Table 47.21. Command arguments Value Summary -h, --help Show this help message and exit -a ARCHIVE_POLICY_NAME, --archive-policy-name ARCHIVE_POLICY_NAME Archive policy name -m METRIC_PATTERN, --metric-pattern METRIC_PATTERN Wildcard of metric name to match Table 47.22. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.23. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.24. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.25. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.6. metric archive-policy-rule delete Delete an archive policy rule. Usage: Table 47.26. Positional arguments Value Summary name Name of the archive policy rule Table 47.27. Command arguments Value Summary -h, --help Show this help message and exit 47.7. metric archive-policy-rule list List archive policy rules. Usage: Table 47.28. Command arguments Value Summary -h, --help Show this help message and exit Table 47.29. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.30. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.31. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.32. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.8. metric archive-policy-rule show Show an archive policy rule. Usage: Table 47.33. Positional arguments Value Summary name Name of the archive policy rule Table 47.34. Command arguments Value Summary -h, --help Show this help message and exit Table 47.35. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.36. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.37. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.38. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.9. metric archive-policy show Show an archive policy. Usage: Table 47.39. Positional arguments Value Summary name Name of the archive policy Table 47.40. Command arguments Value Summary -h, --help Show this help message and exit Table 47.41. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.42. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.43. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.44. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.10. metric archive-policy update Update an archive policy. Usage: Table 47.45. Positional arguments Value Summary name Name of the archive policy Table 47.46. Command arguments Value Summary -h, --help Show this help message and exit -d <DEFINITION>, --definition <DEFINITION> Two attributes (separated by , ) of an archive policy definition with its name and value separated with a : Table 47.47. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.48. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.49. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.50. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.11. metric benchmark measures add Do benchmark testing of adding measurements. Usage: Table 47.51. Positional arguments Value Summary metric Id or name of the metric Table 47.52. Command arguments Value Summary -h, --help Show this help message and exit --resource-id RESOURCE_ID, -r RESOURCE_ID Id of the resource --workers WORKERS, -w WORKERS Number of workers to use --count COUNT, -n COUNT Number of total measures to send --batch BATCH, -b BATCH Number of measures to send in each batch --timestamp-start TIMESTAMP_START, -s TIMESTAMP_START First timestamp to use --timestamp-end TIMESTAMP_END, -e TIMESTAMP_END Last timestamp to use --wait Wait for all measures to be processed Table 47.53. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.54. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.55. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.56. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.12. metric benchmark measures show Do benchmark testing of measurements show. Usage: Table 47.57. Positional arguments Value Summary metric Id or name of the metric Table 47.58. Command arguments Value Summary -h, --help Show this help message and exit --utc Return timestamps as utc --resource-id RESOURCE_ID, -r RESOURCE_ID Id of the resource --aggregation AGGREGATION Aggregation to retrieve --start START Beginning of the period --stop STOP End of the period --granularity GRANULARITY Granularity to retrieve --refresh Force aggregation of all known measures --resample RESAMPLE Granularity to resample time-series to (in seconds) --workers WORKERS, -w WORKERS Number of workers to use --count COUNT, -n COUNT Number of total measures to send Table 47.59. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.60. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.61. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.62. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.13. metric benchmark metric create Do benchmark testing of metric creation. Usage: Table 47.63. Command arguments Value Summary -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 --workers WORKERS, -w WORKERS Number of workers to use --count COUNT, -n COUNT Number of metrics to create --keep, -k Keep created metrics Table 47.64. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.65. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.66. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.67. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.14. metric benchmark metric show Do benchmark testing of metric show. Usage: Table 47.68. Positional arguments Value Summary metric Id or name of the metrics Table 47.69. Command arguments Value Summary -h, --help Show this help message and exit --resource-id RESOURCE_ID, -r RESOURCE_ID Id of the resource --workers WORKERS, -w WORKERS Number of workers to use --count COUNT, -n COUNT Number of metrics to get Table 47.70. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.71. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.72. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.73. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.15. metric capabilities list List capabilities. Usage: Table 47.74. Command arguments Value Summary -h, --help Show this help message and exit Table 47.75. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.76. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.77. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.78. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.16. metric create Create a metric. Usage: Table 47.79. Positional arguments Value Summary METRIC_NAME Name of the metric Table 47.80. Command arguments Value Summary -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 Table 47.81. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.82. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.83. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.84. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.17. metric delete Delete a metric. Usage: Table 47.85. Positional arguments Value Summary metric Ids or names of the metric Table 47.86. Command arguments Value Summary -h, --help Show this help message and exit --resource-id RESOURCE_ID, -r RESOURCE_ID Id of the resource 47.18. metric list List metrics. Usage: Table 47.87. Command arguments Value Summary -h, --help Show this help message and exit --limit <LIMIT> Number of metrics to return (default is server default) --marker <MARKER> Last item of the listing. return the results after this value --sort <SORT> Sort of metric attribute (example: user_id:desc- nullslast Table 47.88. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.89. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.90. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.91. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.19. metric measures add Add measurements to a metric. Usage: Table 47.92. Positional arguments Value Summary metric Id or name of the metric Table 47.93. Command arguments Value Summary -h, --help Show this help message and exit --resource-id RESOURCE_ID, -r RESOURCE_ID Id of the resource -m MEASURE, --measure MEASURE Timestamp and value of a measure separated with a @ 47.20. metric measures aggregation Get measurements of aggregated metrics. Usage: Table 47.94. Command arguments Value Summary -h, --help Show this help message and exit --utc Return timestamps as utc -m METRIC [METRIC ... ], --metric METRIC [METRIC ... ] Metrics ids or metric name --aggregation AGGREGATION Granularity aggregation function to retrieve --reaggregation REAGGREGATION Groupby aggregation function to retrieve --start START Beginning of the period --stop STOP End of the period --granularity GRANULARITY Granularity to retrieve --needed-overlap NEEDED_OVERLAP Percent of datapoints in each metrics required --query QUERY A query to filter resource. the syntax is a combination of attribute, operator and value. For example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would filter resource with a certain id. More complex queries can be built, e.g.: not (flavor_id!="1" and memory>=24). Use "" to force data to be interpreted as string. Supported operators are: not, and, ∧ or, ∨, >=, ⇐, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in, like, !=, >=, <=, like, in. --resource-type RESOURCE_TYPE Resource type to query --groupby GROUPBY Attribute to use to group resources --refresh Force aggregation of all known measures --resample RESAMPLE Granularity to resample time-series to (in seconds) --fill FILL Value to use when backfilling timestamps with missing values in a subset of series. Value should be a float or null . Table 47.95. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.96. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.97. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.98. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.21. metric measures batch-metrics Usage: Table 47.99. Positional arguments Value Summary file File containing measurements to batch or - for stdin (see Gnocchi REST API docs for the format Table 47.100. Command arguments Value Summary -h, --help Show this help message and exit 47.22. metric measures batch-resources-metrics Usage: Table 47.101. Positional arguments Value Summary file File containing measurements to batch or - for stdin (see Gnocchi REST API docs for the format Table 47.102. Command arguments Value Summary -h, --help Show this help message and exit --create-metrics Create unknown metrics 47.23. metric measures show Get measurements of a metric. Usage: Table 47.103. Positional arguments Value Summary metric Id or name of the metric Table 47.104. Command arguments Value Summary -h, --help Show this help message and exit --utc Return timestamps as utc --resource-id RESOURCE_ID, -r RESOURCE_ID Id of the resource --aggregation AGGREGATION Aggregation to retrieve --start START Beginning of the period --stop STOP End of the period --granularity GRANULARITY Granularity to retrieve --refresh Force aggregation of all known measures --resample RESAMPLE Granularity to resample time-series to (in seconds) Table 47.105. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.106. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.107. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.108. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.24. metric resource batch delete Delete a batch of resources based on attribute values. Usage: Table 47.109. Positional arguments Value Summary query A query to filter resource. the syntax is a combination of attribute, operator and value. For example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would filter resource with a certain id. More complex queries can be built, e.g.: not (flavor_id!="1" and memory>=24). Use "" to force data to be interpreted as string. Supported operators are: not, and, ∧ or, ∨, >=, ⇐, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in, like, !=, >=, <=, like, in. Table 47.110. Command arguments Value Summary -h, --help Show this help message and exit --type RESOURCE_TYPE, -t RESOURCE_TYPE Type of resource Table 47.111. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.112. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.113. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.114. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.25. metric resource create Create a resource. Usage: Table 47.115. Positional arguments Value Summary resource_id Id of the resource Table 47.116. Command arguments Value Summary -h, --help Show this help message and exit --type RESOURCE_TYPE, -t RESOURCE_TYPE Type of resource -a ATTRIBUTE, --attribute ATTRIBUTE Name and value of an attribute separated with a : -m ADD_METRIC, --add-metric ADD_METRIC Name:id of a metric to add -n CREATE_METRIC, --create-metric CREATE_METRIC Name:archive_policy_name of a metric to create Table 47.117. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.118. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.119. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.120. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.26. metric resource delete Delete a resource. Usage: Table 47.121. Positional arguments Value Summary resource_id Id of the resource Table 47.122. Command arguments Value Summary -h, --help Show this help message and exit 47.27. metric resource history Show the history of a resource. Usage: Table 47.123. Positional arguments Value Summary resource_id Id of a resource Table 47.124. Command arguments Value Summary -h, --help Show this help message and exit --details Show all attributes of generic resources --limit <LIMIT> Number of resources to return (default is server default) --marker <MARKER> Last item of the listing. return the results after this value --sort <SORT> Sort of resource attribute (example: user_id:desc- nullslast --type RESOURCE_TYPE, -t RESOURCE_TYPE Type of resource Table 47.125. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.126. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.127. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.128. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.28. metric resource list List resources. Usage: Table 47.129. Command arguments Value Summary -h, --help Show this help message and exit --details Show all attributes of generic resources --history Show history of the resources --limit <LIMIT> Number of resources to return (default is server default) --marker <MARKER> Last item of the listing. return the results after this value --sort <SORT> Sort of resource attribute (example: user_id:desc- nullslast --type RESOURCE_TYPE, -t RESOURCE_TYPE Type of resource Table 47.130. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.131. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.132. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.133. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.29. metric resource search Search resources with specified query rules. Usage: Table 47.134. Positional arguments Value Summary query A query to filter resource. the syntax is a combination of attribute, operator and value. For example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would filter resource with a certain id. More complex queries can be built, e.g.: not (flavor_id!="1" and memory>=24). Use "" to force data to be interpreted as string. Supported operators are: not, and, ∧ or, ∨, >=, ⇐, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in, like, !=, >=, <=, like, in. Table 47.135. Command arguments Value Summary -h, --help Show this help message and exit --details Show all attributes of generic resources --history Show history of the resources --limit <LIMIT> Number of resources to return (default is server default) --marker <MARKER> Last item of the listing. return the results after this value --sort <SORT> Sort of resource attribute (example: user_id:desc- nullslast --type RESOURCE_TYPE, -t RESOURCE_TYPE Type of resource Table 47.136. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.137. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.138. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.139. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.30. metric resource show Show a resource. Usage: Table 47.140. Positional arguments Value Summary resource_id Id of a resource Table 47.141. Command arguments Value Summary -h, --help Show this help message and exit --type RESOURCE_TYPE, -t RESOURCE_TYPE Type of resource Table 47.142. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.143. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.144. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.145. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.31. metric resource-type create Create a resource type. Usage: Table 47.146. Positional arguments Value Summary name Name of the resource type Table 47.147. Command arguments Value Summary -h, --help Show this help message and exit -a ATTRIBUTE, --attribute ATTRIBUTE Attribute definition, attribute_name:attribute_type:at tribute_is_required:attribute_type_option_name=attribu te_type_option_value:... For example: display_name:string:true:max_length=255 Table 47.148. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.149. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.150. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.151. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.32. metric resource-type delete Delete a resource type. Usage: Table 47.152. Positional arguments Value Summary name Name of the resource type Table 47.153. Command arguments Value Summary -h, --help Show this help message and exit 47.33. metric resource-type list List resource types. Usage: Table 47.154. Command arguments Value Summary -h, --help Show this help message and exit Table 47.155. Output formatter options Value Summary -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns --sort-column SORT_COLUMN Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated --sort-ascending Sort the column(s) in ascending order --sort-descending Sort the column(s) in descending order Table 47.156. CSV formatter options Value Summary --quote {all,minimal,none,nonnumeric} When to include quotes, defaults to nonnumeric Table 47.157. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.158. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.34. metric resource-type show Show a resource type. Usage: Table 47.159. Positional arguments Value Summary name Name of the resource type Table 47.160. Command arguments Value Summary -h, --help Show this help message and exit Table 47.161. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.162. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.163. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.164. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.35. metric resource-type update Create a resource type. Usage: Table 47.165. Positional arguments Value Summary name Name of the resource type Table 47.166. Command arguments Value Summary -h, --help Show this help message and exit -a ATTRIBUTE, --attribute ATTRIBUTE Attribute definition, attribute_name:attribute_type:at tribute_is_required:attribute_type_option_name=attribu te_type_option_value:... For example: display_name:string:true:max_length=255 -r REMOVE_ATTRIBUTE, --remove-attribute REMOVE_ATTRIBUTE Attribute name Table 47.167. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.168. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.169. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.170. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.36. metric resource update Update a resource. Usage: Table 47.171. Positional arguments Value Summary resource_id Id of the resource Table 47.172. Command arguments Value Summary -h, --help Show this help message and exit --type RESOURCE_TYPE, -t RESOURCE_TYPE Type of resource -a ATTRIBUTE, --attribute ATTRIBUTE Name and value of an attribute separated with a : -m ADD_METRIC, --add-metric ADD_METRIC Name:id of a metric to add -n CREATE_METRIC, --create-metric CREATE_METRIC Name:archive_policy_name of a metric to create -d DELETE_METRIC, --delete-metric DELETE_METRIC Name of a metric to delete Table 47.173. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.174. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.175. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.176. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.37. metric server version Show the version of Gnocchi server. Usage: Table 47.177. Command arguments Value Summary -h, --help Show this help message and exit Table 47.178. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.179. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.180. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.181. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.38. metric show Show a metric. Usage: Table 47.182. Positional arguments Value Summary metric Id or name of the metric Table 47.183. Command arguments Value Summary -h, --help Show this help message and exit --resource-id RESOURCE_ID, -r RESOURCE_ID Id of the resource Table 47.184. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.185. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.186. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.187. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show. 47.39. metric status Show the status of measurements processing. Usage: Table 47.188. Command arguments Value Summary -h, --help Show this help message and exit Table 47.189. Output formatter options Value Summary -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} The output format, defaults to table -c COLUMN, --column COLUMN Specify the column(s) to include, can be repeated to show multiple columns Table 47.190. JSON formatter options Value Summary --noindent Whether to disable indenting the json Table 47.191. Shell formatter options Value Summary --prefix PREFIX Add a prefix to all variable names Table 47.192. Table formatter options Value Summary --max-width <integer> Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. --fit-width Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable --print-empty Print empty table if there is no data to show.

Commands:
openstack metric aggregates [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--resource-type RESOURCE_TYPE] [--start START] [--stop STOP] [--granularity GRANULARITY] [--needed-overlap NEEDED_OVERLAP] [--groupby GROUPBY] [--fill FILL] operations [search]
openstack metric archive-policy create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] -d <DEFINITION> [-b BACK_WINDOW] [-m AGGREGATION_METHODS] name
openstack metric archive-policy delete [-h] name
openstack metric archive-policy list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending]
openstack metric archive-policy-rule create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] -a ARCHIVE_POLICY_NAME -m METRIC_PATTERN name
openstack metric archive-policy-rule delete [-h] name
openstack metric archive-policy-rule list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending]
openstack metric archive-policy-rule show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] name
openstack metric archive-policy show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] name
openstack metric archive-policy update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] -d <DEFINITION> name
openstack metric benchmark measures add [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--workers WORKERS] --count COUNT [--batch BATCH] [--timestamp-start TIMESTAMP_START] [--timestamp-end TIMESTAMP_END] [--wait] metric
openstack metric benchmark measures show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--utc] [--resource-id RESOURCE_ID] [--aggregation AGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--refresh] [--resample RESAMPLE] [--workers WORKERS] --count COUNT metric
openstack metric benchmark metric create [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--archive-policy-name ARCHIVE_POLICY_NAME] [--workers WORKERS] --count COUNT [--keep]
openstack metric benchmark metric show [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--workers WORKERS] --count COUNT metric [metric ...]
openstack metric capabilities list [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty]
openstack metric create [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--archive-policy-name ARCHIVE_POLICY_NAME] [--unit UNIT] [METRIC_NAME]
openstack metric delete [-h] [--resource-id RESOURCE_ID] metric [metric ...]
openstack metric list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>]
openstack metric measures add [-h] [--resource-id RESOURCE_ID] -m MEASURE metric
openstack metric measures aggregation [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--utc] -m METRIC [METRIC ...] [--aggregation AGGREGATION] [--reaggregation REAGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--needed-overlap NEEDED_OVERLAP] [--query QUERY] [--resource-type RESOURCE_TYPE] [--groupby GROUPBY] [--refresh] [--resample RESAMPLE] [--fill FILL]
openstack metric measures batch-metrics [-h] file
openstack metric measures batch-resources-metrics [-h] [--create-metrics] file
openstack metric measures show [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--utc] [--resource-id RESOURCE_ID] [--aggregation AGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--refresh] [--resample RESAMPLE] metric
openstack metric resource batch delete [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--type RESOURCE_TYPE] query
openstack metric resource create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--type RESOURCE_TYPE] [-a ATTRIBUTE] [-m ADD_METRIC] [-n CREATE_METRIC] resource_id
openstack metric resource delete [-h] resource_id
openstack metric resource history [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--details] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE] resource_id
openstack metric resource list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--details] [--history] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE]
openstack metric resource search [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending] [--details] [--history] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE] query
openstack metric resource show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--type RESOURCE_TYPE] resource_id
openstack metric resource-type create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [-a ATTRIBUTE] name
openstack metric resource-type delete [-h] name
openstack metric resource-type list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--quote {all,minimal,none,nonnumeric}] [--noindent] [--max-width <integer>] [--fit-width] [--print-empty] [--sort-column SORT_COLUMN] [--sort-ascending | --sort-descending]
openstack metric resource-type show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] name
openstack metric resource-type update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [-a ATTRIBUTE] [-r REMOVE_ATTRIBUTE] name
openstack metric resource update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--type RESOURCE_TYPE] [-a ATTRIBUTE] [-m ADD_METRIC] [-n CREATE_METRIC] [-d DELETE_METRIC] resource_id
openstack metric server version [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty]
openstack metric show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty] [--resource-id RESOURCE_ID] metric
openstack metric status [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty]