diff options
author | Mehdi Abaakouk <mehdi.abaakouk@enovance.com> | 2013-09-13 08:58:25 +0200 |
---|---|---|
committer | Mehdi Abaakouk <mehdi.abaakouk@enovance.com> | 2013-09-19 16:11:39 +0200 |
commit | 42f02ab3c4381ddae1e62565c5e14e6915eedba7 (patch) | |
tree | 3ceae35a30bccfd83272f4b7a07c5109df1a7ff0 /setup.cfg | |
parent | 48c85f740a6aac94a8cd8cd250e59ee7d1a42d70 (diff) | |
download | ceilometer-42f02ab3c4381ddae1e62565c5e14e6915eedba7.tar.gz |
Refactor threshold evaluator
This change creates a base class for evaluator.
The alarm service load all evaluators.
A evaluator needs to implement abstract method of this base class.
The alarm service now check in alarm.type use the right extension to
evaluate the alarm.
The previous threshold evaluator code has been moved into the threshold
extension.
Related to blueprint alarming-logical-combination
Change-Id: If6057b7db1e894333e6e9f1edb41ab75bc2c4444
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -102,8 +102,8 @@ ceilometer.publisher = udp = ceilometer.publisher.udp:UDPPublisher file = ceilometer.publisher.file:FilePublisher -ceilometer.alarm = - threshold_eval = ceilometer.alarm.threshold_evaluation:Evaluator +ceilometer.alarm.evaluator = + threshold = ceilometer.alarm.evaluator.threshold:ThresholdEvaluator ceilometer.alarm.notifier = log = ceilometer.alarm.notifier.log:LogAlarmNotifier @@ -129,6 +129,7 @@ ceilometer.dispatcher = database = ceilometer.collector.dispatcher.database:DatabaseDispatcher file = ceilometer.collector.dispatcher.file:FileDispatcher + [build_sphinx] all_files = 1 build-dir = doc/build |