The ceilometer.compute.plugin Module
Base class for plugins used by the compute agent.
-
class ceilometer.compute.plugin.ComputePollster[source]
Bases: ceilometer.plugin.PollsterBase
Base class for plugins.
It supports the polling API on the compute node.
-
ComputePollster.get_samples(manager, cache, resources)[source]
Return a sequence of Counter instances from polling the resources.
Parameters: |
- manager – The service manager invoking the plugin
- cache – A dictionary for passing data between plugins
- resources – The resources to examine (expected to be instances)
|