Red Hat Training

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

2.186. openstack metric resource history

usage: openstack metric resource history [-h] [-f {csv,json,table,value,yaml}]
                                         [-c COLUMN] [--max-width <integer>]
                                         [--noindent]
                                         [--quote {all,minimal,none,nonnumeric}]
                                         [--details] [--limit <LIMIT>]
                                         [--marker <MARKER>] [--sort <SORT>]
                                         [--type RESOURCE_TYPE]
                                         resource_id
Show the history of a resource

Positional arguments

resource_id


        ID of a resource

Optional arguments

-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