summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorEoghan Glynn <eglynn@redhat.com>2013-08-28 13:02:10 +0000
committerEoghan Glynn <eglynn@redhat.com>2013-09-20 17:22:46 +0100
commitede2329e548f4b9552841cd6e95d68816e7832d8 (patch)
tree23b16e6ff5aa0a71f2c4f910f55add53733c9f9c /setup.cfg
parent4a05b599b333b920354f766566399fd80b1ccce3 (diff)
downloadceilometer-ede2329e548f4b9552841cd6e95d68816e7832d8.tar.gz
Simple alarm partitioning protocol based on AMQP fanout RPC
All available partitions report their presence periodically. The priority of each partition in terms of assuming mastership is determined by earliest start-time (with a UUID-based tiebreaker in the unlikely event of a time clash). A single partion assumes mastership at any given time, taking responsibility for allocating the alarms to be evaluated across the set of currently available partitions. When a partition lifecycle event is detected (i.e. a pre-existing partition fails to report its presence, or a new one is started up), a complete rebalance of the alarms is initiated. Individual alarm lifecycle events, on the other hand, do not require a full re-balance. Instead new alarms are allocated as they are detected, whereas deleted alarms are initially allowed to remain within the allocation (as the individual evaluators are tolerant of assigned alarms not existing, and the deleted alarms should be randomly distributed over the partions). However once the number of alarms deleted since the last rebalance reaches a certain limit, a rebalance will be initiated to maintain equity. As presence reports are received, each partition keeps track of the oldest partition it currently knows about, allowing an assumption of mastership to be aborted if an older partition belatedly reports. The alarm evaluation service to launch (singleton versus partitioned) is controlled via a new alarm.evaluation_service config option. Implements bp alarm-service-partitioner Change-Id: I3dede464d019a7f776f3d302e2b24cc4a9fc5b66
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index cc7168a6..3487d27f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -122,7 +122,7 @@ console_scripts =
ceilometer-expirer = ceilometer.storage:expirer
ceilometer-collector = ceilometer.collector.service:collector
ceilometer-collector-udp = ceilometer.collector.service:udp_collector
- ceilometer-alarm-singleton = ceilometer.alarm.service:singleton_alarm
+ ceilometer-alarm-evaluator = ceilometer.alarm.service:alarm_evaluator
ceilometer-alarm-notifier = ceilometer.alarm.service:alarm_notifier
ceilometer.dispatcher =