bd8636f3f0
Allows to define a global preference for metric datasources with the ability for strategy specific overrides. In addition, strategies which do not require datasources have the config options removed this is done to prevent confusion. Some documentation that details the inner workings of selecting datasources is updated. Imports for some files in watcher/common have been changed to resolve circular dependencies and now match the overall method to import configuration. Addtional datasources will be retrieved by the manager if the datasource throws an error. Implements: blueprint global-datasource-preference Change-Id: I6fc455b288e338c20d2c4cfec5a0c95350bebc36
11 lines
391 B
YAML
11 lines
391 B
YAML
---
|
|
features:
|
|
- |
|
|
Watcher now supports configuring which datasource to use and in which
|
|
order. This configuration is done by specifying datasources in the
|
|
watcher_datasources section:
|
|
|
|
- ``[watcher_datasources] datasources = gnocchi,monasca,ceilometer``
|
|
|
|
Specific strategies can override this order and use datasources which
|
|
are not listed in the global preference. |