이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 52. metric
This chapter describes the commands under the metric command.
52.1. metric aggregates 링크 복사링크가 클립보드에 복사되었습니다!
Get measurements of aggregated metrics.
Usage:
| 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. |
| 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. |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.2. metric archive-policy create 링크 복사링크가 클립보드에 복사되었습니다!
Create an archive policy.
Usage:
| Value | Summary |
|---|---|
| name | Name of the archive policy |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.3. metric archive-policy delete 링크 복사링크가 클립보드에 복사되었습니다!
Delete an archive policy.
Usage:
openstack metric archive-policy delete [-h] name
openstack metric archive-policy delete [-h] name
| Value | Summary |
|---|---|
| name | Name of the archive policy |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
52.4. metric archive-policy list 링크 복사링크가 클립보드에 복사되었습니다!
List archive policies.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.5. metric archive-policy-rule create 링크 복사링크가 클립보드에 복사되었습니다!
Create an archive policy rule.
Usage:
| Value | Summary |
|---|---|
| name | Rule name |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.6. metric archive-policy-rule delete 링크 복사링크가 클립보드에 복사되었습니다!
Delete an archive policy rule.
Usage:
openstack metric archive-policy-rule delete [-h] name
openstack metric archive-policy-rule delete [-h] name
| Value | Summary |
|---|---|
| name | Name of the archive policy rule |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
52.7. metric archive-policy-rule list 링크 복사링크가 클립보드에 복사되었습니다!
List archive policy rules.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.8. metric archive-policy-rule show 링크 복사링크가 클립보드에 복사되었습니다!
Show an archive policy rule.
Usage:
| Value | Summary |
|---|---|
| name | Name of the archive policy rule |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.9. metric archive-policy show 링크 복사링크가 클립보드에 복사되었습니다!
Show an archive policy.
Usage:
| Value | Summary |
|---|---|
| name | Name of the archive policy |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.10. metric archive-policy update 링크 복사링크가 클립보드에 복사되었습니다!
Update an archive policy.
Usage:
| Value | Summary |
|---|---|
| name | Name of the archive policy |
| 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 : |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.11. metric benchmark measures add 링크 복사링크가 클립보드에 복사되었습니다!
Do benchmark testing of adding measurements.
Usage:
| Value | Summary |
|---|---|
| metric | Id or name of the metric |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.12. metric benchmark measures show 링크 복사링크가 클립보드에 복사되었습니다!
Do benchmark testing of measurements show.
Usage:
| Value | Summary |
|---|---|
| metric | Id or name of the metric |
| 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 |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.13. metric benchmark metric create 링크 복사링크가 클립보드에 복사되었습니다!
Do benchmark testing of metric creation.
Usage:
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.14. metric benchmark metric show 링크 복사링크가 클립보드에 복사되었습니다!
Do benchmark testing of metric show.
Usage:
| Value | Summary |
|---|---|
| metric | Id or name of the metrics |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.15. metric capabilities list 링크 복사링크가 클립보드에 복사되었습니다!
List capabilities.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.16. metric create 링크 복사링크가 클립보드에 복사되었습니다!
Create a metric.
Usage:
| Value | Summary |
|---|---|
| METRIC_NAME | Name of the metric |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.17. metric delete 링크 복사링크가 클립보드에 복사되었습니다!
Delete a metric.
Usage:
openstack metric delete [-h] [--resource-id RESOURCE_ID]
metric [metric ...]
openstack metric delete [-h] [--resource-id RESOURCE_ID]
metric [metric ...]
| Value | Summary |
|---|---|
| metric | Ids or names of the metric |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --resource-id RESOURCE_ID, -r RESOURCE_ID | Id of the resource |
52.18. metric list 링크 복사링크가 클립보드에 복사되었습니다!
List metrics.
Usage:
| 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 previous listing. return the next results after this value |
| --sort <SORT> | Sort of metric attribute (example: user_id:desc- nullslast |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.19. metric measures add 링크 복사링크가 클립보드에 복사되었습니다!
Add measurements to a metric.
Usage:
openstack metric measures add [-h] [--resource-id RESOURCE_ID] -m
MEASURE
metric
openstack metric measures add [-h] [--resource-id RESOURCE_ID] -m
MEASURE
metric
| Value | Summary |
|---|---|
| metric | Id or name of the metric |
| 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 @ |
52.20. metric measures aggregation 링크 복사링크가 클립보드에 복사되었습니다!
Get measurements of aggregated metrics.
Usage:
| 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. |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.21. metric measures batch-metrics 링크 복사링크가 클립보드에 복사되었습니다!
Usage:
openstack metric measures batch-metrics [-h] file
openstack metric measures batch-metrics [-h] file
| Value | Summary |
|---|---|
| file | File containing measurements to batch or - for stdin (see Gnocchi REST API docs for the format |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
52.22. metric measures batch-resources-metrics 링크 복사링크가 클립보드에 복사되었습니다!
Usage:
openstack metric measures batch-resources-metrics [-h]
[--create-metrics]
file
openstack metric measures batch-resources-metrics [-h]
[--create-metrics]
file
| Value | Summary |
|---|---|
| file | File containing measurements to batch or - for stdin (see Gnocchi REST API docs for the format |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --create-metrics | Create unknown metrics |
52.23. metric measures show 링크 복사링크가 클립보드에 복사되었습니다!
Get measurements of a metric.
Usage:
| Value | Summary |
|---|---|
| metric | Id or name of the metric |
| 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) |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.24. metric metric create 링크 복사링크가 클립보드에 복사되었습니다!
Deprecated: Create a metric.
Usage:
| Value | Summary |
|---|---|
| METRIC_NAME | Name of the metric |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.25. metric metric delete 링크 복사링크가 클립보드에 복사되었습니다!
Deprecated: Delete a metric.
Usage:
openstack metric metric delete [-h] [--resource-id RESOURCE_ID]
metric [metric ...]
openstack metric metric delete [-h] [--resource-id RESOURCE_ID]
metric [metric ...]
| Value | Summary |
|---|---|
| metric | Ids or names of the metric |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --resource-id RESOURCE_ID, -r RESOURCE_ID | Id of the resource |
52.26. metric metric list 링크 복사링크가 클립보드에 복사되었습니다!
Deprecated: List metrics.
Usage:
| 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 previous listing. return the next results after this value |
| --sort <SORT> | Sort of metric attribute (example: user_id:desc- nullslast |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.27. metric metric show 링크 복사링크가 클립보드에 복사되었습니다!
Deprecated: Show a metric.
Usage:
| Value | Summary |
|---|---|
| metric | Id or name of the metric |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --resource-id RESOURCE_ID, -r RESOURCE_ID | Id of the resource |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.28. metric resource batch delete 링크 복사링크가 클립보드에 복사되었습니다!
Delete a batch of resources based on attribute values.
Usage:
| 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. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --type RESOURCE_TYPE, -t RESOURCE_TYPE | Type of resource |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.29. metric resource create 링크 복사링크가 클립보드에 복사되었습니다!
Create a resource.
Usage:
| Value | Summary |
|---|---|
| resource_id | Id of the resource |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.30. metric resource delete 링크 복사링크가 클립보드에 복사되었습니다!
Delete a resource.
Usage:
openstack metric resource delete [-h] resource_id
openstack metric resource delete [-h] resource_id
| Value | Summary |
|---|---|
| resource_id | Id of the resource |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
52.31. metric resource history 링크 복사링크가 클립보드에 복사되었습니다!
Show the history of a resource.
Usage:
| Value | Summary |
|---|---|
| resource_id | Id of a resource |
| 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 previous listing. return the next results after this value |
| --sort <SORT> | Sort of resource attribute (example: user_id:desc- nullslast |
| --type RESOURCE_TYPE, -t RESOURCE_TYPE | Type of resource |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.32. metric resource list 링크 복사링크가 클립보드에 복사되었습니다!
List resources.
Usage:
| 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 previous listing. return the next results after this value |
| --sort <SORT> | Sort of resource attribute (example: user_id:desc- nullslast |
| --type RESOURCE_TYPE, -t RESOURCE_TYPE | Type of resource |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.33. metric resource search 링크 복사링크가 클립보드에 복사되었습니다!
Search resources with specified query rules.
Usage:
| 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. |
| 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 previous listing. return the next results after this value |
| --sort <SORT> | Sort of resource attribute (example: user_id:desc- nullslast |
| --type RESOURCE_TYPE, -t RESOURCE_TYPE | Type of resource |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.34. metric resource show 링크 복사링크가 클립보드에 복사되었습니다!
Show a resource.
Usage:
| Value | Summary |
|---|---|
| resource_id | Id of a resource |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --type RESOURCE_TYPE, -t RESOURCE_TYPE | Type of resource |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.35. metric resource-type create 링크 복사링크가 클립보드에 복사되었습니다!
Create a resource type.
Usage:
| Value | Summary |
|---|---|
| name | Name of the resource type |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.36. metric resource-type delete 링크 복사링크가 클립보드에 복사되었습니다!
Delete a resource type.
Usage:
openstack metric resource-type delete [-h] name
openstack metric resource-type delete [-h] name
| Value | Summary |
|---|---|
| name | Name of the resource type |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
52.37. metric resource-type list 링크 복사링크가 클립보드에 복사되었습니다!
List resource types.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| --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 |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| 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. |
52.38. metric resource-type show 링크 복사링크가 클립보드에 복사되었습니다!
Show a resource type.
Usage:
| Value | Summary |
|---|---|
| name | Name of the resource type |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.39. metric resource-type update 링크 복사링크가 클립보드에 복사되었습니다!
Create a resource type.
Usage:
| Value | Summary |
|---|---|
| name | Name of the resource type |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.40. metric resource update 링크 복사링크가 클립보드에 복사되었습니다!
Update a resource.
Usage:
| Value | Summary |
|---|---|
| resource_id | Id of the resource |
| 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 |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.41. metric server version 링크 복사링크가 클립보드에 복사되었습니다!
Show the version of Gnocchi server.
Usage:
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 server version [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.42. metric show 링크 복사링크가 클립보드에 복사되었습니다!
Show a metric.
Usage:
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 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
| Value | Summary |
|---|---|
| metric | Id or name of the metric |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --resource-id RESOURCE_ID, -r RESOURCE_ID | Id of the resource |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |
52.43. metric status 링크 복사링크가 클립보드에 복사되었습니다!
Show the status of measurements processing.
Usage:
openstack metric status [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
openstack metric status [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| 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 |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| 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. |