Bases: nova.compute.monitors.base.MonitorBase
Base class for all monitors that return CPU-related metrics.
Bases: object
Base class for all resource monitor plugins.
Adds metric objects to a supplied list object.
Parameters: | metric_list – nova.objects.MonitorMetricList that the monitor plugin should append nova.objects.MonitorMetric objects to. |
---|
Return a (value, timestamp) tuple for the supplied metric name.
Parameters: | name – The name/key for the metric to grab the value for. |
---|
Get available metric names.
Get available metric names, which are represented by a set of keys that can be used to check conflicts and duplications
Returns: | set containing one or more values from :py:attr: nova.objects.fields.MonitorMetricType.ALL |
---|