Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Eoghan Glynn
In current Alarm implementation, Ceilometer will send back Heat an 'alarm' using the pre-signed URL (or other channel under development). By the other channel, do you mean the trusts-based interaction? We discussed this at the mid-cycle in Paris last week, and it turns out there appear to be

Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Qiming Teng
On Mon, Jul 07, 2014 at 02:13:57AM -0400, Eoghan Glynn wrote: In current Alarm implementation, Ceilometer will send back Heat an 'alarm' using the pre-signed URL (or other channel under development). By the other channel, do you mean the trusts-based interaction? Yes, Sir. Trusts and

Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Eoghan Glynn
Alarms in ceilometer may currently only be based on a statistics trend crossing a threshold, and not on the occurrence of an event such as compute.instance.delete.end. Right. I realized this after spending some more time understanding the alarm-evaluator code. Having 'Statistics'

Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Qiming Teng
On Mon, Jul 07, 2014 at 03:46:19AM -0400, Eoghan Glynn wrote: Near the end of the Icehouse cycle, there was an attempt to implement this style of notification-based alarming but the feature did not land. After realizing 'Statistics' is not the ideal place for extension, I took a

Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Steven Hardy
On Mon, Jul 07, 2014 at 02:13:57AM -0400, Eoghan Glynn wrote: In current Alarm implementation, Ceilometer will send back Heat an 'alarm' using the pre-signed URL (or other channel under development). By the other channel, do you mean the trusts-based interaction? We discussed this at

Re: [openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-07 Thread Steven Hardy
On Mon, Jul 07, 2014 at 03:46:19AM -0400, Eoghan Glynn wrote: Alarms in ceilometer may currently only be based on a statistics trend crossing a threshold, and not on the occurrence of an event such as compute.instance.delete.end. Right. I realized this after spending some more

[openstack-dev] [Heat][Ceilometer] A proposal to enhance ceilometer alarm

2014-07-04 Thread Qiming Teng
Hi, In current Alarm implementation, Ceilometer will send back Heat an 'alarm' using the pre-signed URL (or other channel under development). The alarm carries a payload that looks like: { alarm_id: ID previous: ok current: alarm reason: transision to alarm due to n samples outside