ceilometer.hardware.pollsters.generic Module¶ceilometer.hardware.pollsters.generic.GenericHardwareDeclarativePollster(conf)[source]¶Bases: ceilometer.polling.plugin_base.PollsterBase
CACHE_KEY = 'hardware.generic'¶build_pollsters(conf)[source]¶Return a list of tuple (name, pollster).
The name is the meter name which the pollster would return, the pollster is a pollster object instance. The pollster which implements this method should be registered in the namespace of ceilometer.builder.xxx instead of ceilometer.poll.xxx.
default_discovery¶generate_samples(host_url, data)[source]¶Generate a list of Sample from the data returned by inspector
| Parameters: |
|
|---|
get_samples(manager, cache, resources=None)[source]¶Return an iterable of Sample instances from polling the resources.
| Parameters: |
|
|---|
mapping = None¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.