openstack.telemetry.v2.statistics

openstack.telemetry.v2.statistics

The Statistics Class

The Statistics class inherits from Resource.

class openstack.telemetry.v2.statistics.Statistics(attrs=None, loaded=False)

Caution

This API is a work in progress and is subject to change.

Construct a Resource to interact with a service’s REST API.

The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See Resource.new() and Resource.existing().

Parameters:
  • attrs (dict) – The attributes to set when constructing this Resource.
  • loaded (bool) – True if this Resource exists on the server, False if it does not.
aggregate = None

The selectable aggregate value(s)

avg = None

The average of all of the volume values seen in the data

count = None

The number of samples seen

duration = None

The difference, in seconds, between the oldest and newest timestamp

duration_end = None

UTC date and time of the oldest timestamp, or the query end time

duration_start = None

UTC date and time of the earliest timestamp, or the query start time

group_by = None

Dictionary of field names for group, if groupby statistics are requested

max = None

The maximum volume seen in the data

min = None

The minimum volume seen in the data

period = None

The difference, in seconds, between the period start and end

period_end = None

UTC date and time of the period end

period_start = None

UTC date and time of the period start

sum = None

The total of all of the volume values seen in the data

unit = None

The unit type of the data set

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.