Red Hat Training

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

14.21. gnocchi measures show

usage: gnocchi measures show [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
                             [--max-width <integer>] [--noindent]
                             [--quote {all,minimal,none,nonnumeric}]
                             [--resource-id RESOURCE_ID]
                             [--aggregation AGGREGATION] [--start START]
                             [--stop STOP] [--granularity GRANULARITY]
                             [--refresh]
                             metric
Get measurements of a metric

Positional arguments

metric


        ID or name of the metric

Optional arguments

-h, --help


        show this help message and exit

--resource-id RESOURCE_ID, -r RESOURCE_ID


      ID of the resource

--aggregation AGGREGATION


      aggregation to retrieve

--start START


        beginning of the period

--stop STOP


        end of the period

--granularity GRANULARITY


      granularity to retrieve (in seconds)

--refresh


        force aggregation of all known measures