2.176. openstack metric measures aggregation


usage: openstack metric measures aggregation [-h]
                                             [-f {csv,json,table,value,yaml}]
                                             [-c COLUMN]
                                             [--max-width <integer>]
                                             [--noindent]
                                             [--quote {all,minimal,none,nonnumeric}]
                                             -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]
Copy to Clipboard Toggle word wrap
Get measurements of aggregated metrics

Optional arguments

-h, --help


        show this help message and exit

-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 (in seconds)

--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

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat