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() and existing().

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

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