Integration of Ceilometer in Watcher
In current implementation is not easy to use ceilometer. Watcher must query metrics from the Telemetry v2 API to allow an easiest integration with OpenStack components (especially devstack). blueprint telemetry-integration Change-Id: Ide515472f1d160925d9f4aabf48c96dea4f6bc05
This commit is contained in:
@@ -22,12 +22,9 @@ import watcher.api.app
|
||||
from watcher.applier.framework import manager_applier
|
||||
import watcher.common.messaging.messaging_core
|
||||
|
||||
|
||||
from watcher.decision_engine.framework import manager_decision_engine
|
||||
from watcher.decision_engine.framework import manager
|
||||
from watcher.decision_engine.framework.strategy import strategy_loader
|
||||
from watcher.decision_engine.framework.strategy import strategy_selector
|
||||
from watcher.metrics_engine.framework import collector_manager
|
||||
from watcher.metrics_engine.framework.datasources import influxdb_collector
|
||||
|
||||
|
||||
def list_opts():
|
||||
@@ -44,11 +41,7 @@ def list_opts():
|
||||
('watcher_strategies', strategy_loader.WATCHER_STRATEGY_OPTS),
|
||||
('watcher_goals', strategy_selector.WATCHER_GOALS_OPTS),
|
||||
('watcher_decision_engine',
|
||||
manager_decision_engine.WATCHER_DECISION_ENGINE_OPTS),
|
||||
manager.WATCHER_DECISION_ENGINE_OPTS),
|
||||
('watcher_applier',
|
||||
manager_applier.APPLIER_MANAGER_OPTS),
|
||||
('watcher_influxdb_collector',
|
||||
influxdb_collector.WATCHER_INFLUXDB_COLLECTOR_OPTS),
|
||||
('watcher_metrics_collector',
|
||||
collector_manager.WATCHER_METRICS_COLLECTOR_OPTS)
|
||||
manager_applier.APPLIER_MANAGER_OPTS)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user