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()
andResource.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_at
= None¶ UTC date and time of the oldest timestamp, or the query end time. Type: datetime object parsed from ISO 8601 formatted string
-
duration_start_at
= None¶ UTC date and time of the earliest timestamp, or the query start time. Type: datetime object parsed from ISO 8601 formatted string
-
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_at
= None¶ UTC date and time of the period end. Type: datetime object parsed from ISO 8601 formatted string
-
period_start_at
= None¶ UTC date and time of the period start. Type: datetime object parsed from ISO 8601 formatted string
-
sum
= None¶ The total of all of the volume values seen in the data
-
unit
= None¶ The unit type of the data set