Inspector abstraction for read-only access to hypervisors.
Bases: tuple
CPUStats(number, time)
Bases: tuple
CPUUtilStats(util,)
Bases: tuple
Disk(device,)
Bases: tuple
DiskRateStats(read_bytes_rate, read_requests_rate, write_bytes_rate, write_requests_rate)
Bases: tuple
DiskStats(read_bytes, read_requests, write_bytes, write_requests, errors)
Bases: object
Inspect the CPU Utilization (%) for an instance.
Parameters: |
|
---|---|
Returns: | the percentage of CPU utilization |
Inspect the CPU statistics for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | the number of CPUs and cumulative CPU time |
Inspect the disk statistics as rates for an instance.
Parameters: |
|
---|---|
Returns: | for each disk, the number of bytes & operations read and written per second, with the error count |
Inspect the disk statistics for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | for each disk, the number of bytes & operations read and written, and the error count |
List the instances on the current host.
Inspect the memory usage statistics for an instance.
Parameters: |
|
---|---|
Returns: | the amount of memory used |
Inspect the vNIC rate statistics for an instance.
Parameters: |
|
---|---|
Returns: | for each vNIC, the rate of bytes & packets received and transmitted |
Inspect the vNIC statistics for an instance.
Parameters: | instance – the target instance |
---|---|
Returns: | for each vNIC, the number of bytes & packets received and transmitted |
Bases: exceptions.Exception
Bases: tuple
Instance(name, UUID)
Bases: ceilometer.compute.virt.inspector.InspectorException
Bases: tuple
Interface(name, mac, fref, parameters)
Bases: tuple
InterfaceRateStats(rx_bytes_rate, tx_bytes_rate)
Bases: tuple
InterfaceStats(rx_bytes, rx_packets, tx_bytes, tx_packets)
Bases: tuple
MemoryUsageStats(usage,)