]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Allow the Ceilometer Alarm to be used with cfn-push-stats
authorAngus Salkeld <asalkeld@redhat.com>
Wed, 31 Jul 2013 11:24:26 +0000 (21:24 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 1 Aug 2013 10:49:34 +0000 (20:49 +1000)
commitaf68b6168c2748bb3ec8104aee84c12a4684162e
tree6c010ef5edb4196f8eea62ffdbc6fdae397320ee
parent31e53d4fe785825d389368a039bd78d14eb72bf6
Allow the Ceilometer Alarm to be used with cfn-push-stats

This is for when:
- Ceilometer does not support the desired custom metric
- Easier migration to Ceilometer Alarms (reuse most of old templates)

A watchrule is create within the Ceilometer alarm, but it is marked
as belonging to Ceilometer. This is used in the follow situation:
- So we can figure out that we don't need to run the watch periodic task
- when we receive new sample data we can forward the data to Ceilometer

blueprint watch-ceilometer
Change-Id: I0d672e69a522a23158805d75378f4bfe631b4bf3
heat/engine/resources/ceilometer/alarm.py
heat/engine/service.py
heat/engine/watchrule.py
heat/rpc/api.py