The gnocchiclient.v1.aggregates_cli Module

class gnocchiclient.v1.aggregates_cli.CliAggregates(app, app_args, cmd_name=None)

Bases: cliff.lister.Lister

Get measurements of aggregated metrics.

COLS = ('name', 'timestamp', 'granularity', 'value')
classmethod flatten_measures(data, labels=None)
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a tuple containing the column names and an iterable containing the data to be listed.