otcextensions.sdk.dcs.v1.statistic¶
The DCS Statistic Class¶
The Statistic
class inherits from
Resource
.
- class otcextensions.sdk.dcs.v1.statistic.Statistic(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- resources_key: ty.Optional[str] = 'statistics'¶
Plural form of key for resource.
- base_path: str = '/instances/statistic'¶
The base part of the URI for this resource.
- allow_list = True¶
Allow list operation for this resource.
- allow_fetch = True¶
Allow get operation for this resource.
- cmd_get_count¶
Number of times that the GET command is run. Type: int
- cmd_set_count¶
Number of times that the SET command is run. Type: int
- input_kbps¶
Incoming traffic of the DCS instance. Unit: kbit/s. Type: str
- instance_id¶
Instance Id
- keys¶
Number of data items stored in the cache. Type: int
- max_memory¶
Overall memory size. Unit: MB. Type: int
- output_kbps¶
Outgoing traffic of the DCS instance. Unit: kbit/s. Type: str
- used_cpu¶
CPU Usage % Type: str
- used_memory¶
Size of the used memory. Unit: MB. Type: int