The ceilometer.compute.virt.hyperv.inspector Module

The ceilometer.compute.virt.hyperv.inspector Module

Implementation of Inspector abstraction for Hyper-V

class ceilometer.compute.virt.hyperv.inspector.HyperVInspector(conf)[source]

Bases: ceilometer.compute.virt.inspector.Inspector

inspect_disk_iops(**kwargs)[source]

Inspect the disk statistics as rates for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

for each disk, the number of iops per second

inspect_disk_latency(**kwargs)[source]

Inspect the disk statistics as rates for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

for each disk, the average disk latency

inspect_disks(**kwargs)[source]

Inspect the disk statistics for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

for each disk, the number of bytes & operations read and written, and the error count

inspect_instance(**kwargs)[source]

Inspect the CPU statistics for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

the instance stats

inspect_vnics(**kwargs)[source]

Inspect the vNIC statistics for an instance.

Parameters:
  • instance – the target instance
  • duration – the last ‘n’ seconds, over which the value should be inspected
Returns:

for each vNIC, the number of bytes & packets received and transmitted

ceilometer.compute.virt.hyperv.inspector.convert_exceptions(exception_map, yields=True)[source]
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.