nova/nova/compute/monitors
Jay Pipes 973f31212a Use stevedore for loading monitor extensions
The compute monitor plugins were being loaded using the nova.loadables
module. This patch uses the stevedore library to load monitor
extensions. We keep the same semantics as the previous loading
mechanism: we use the CONF.compute_monitors configuration option to
winnow the set of all monitor plugins, and we ensure that no two
monitors that return the same set of metrics will be loaded.

However, this patch deprecates the CONF.compute_available_monitors
configuration option, since stevedore and setuptools entry points now
allow a set of plugins to be specified without any further configuration
options.

Change-Id: I97bf8bcd43faf9f3fe40983497c2360233d5f599
Fixes-bug: 1468012
DocImpact: deprecates the CONF.compute_available_monitors option.
2015-07-13 15:23:52 -04:00
..
cpu Use stevedore for loading monitor extensions 2015-07-13 15:23:52 -04:00
__init__.py Use stevedore for loading monitor extensions 2015-07-13 15:23:52 -04:00
base.py Rework monitor plugin interface and API 2015-07-06 09:47:27 -04:00