Go to file
ZhiQiang Fan 1c5bd9e8fd [Trivial] Improve alarm reason text
In log, I find such message:

alarm e513e3d2-bd2d-4f75-8eae-e5dd3a09faab transitioning to alarm
because Event (message_id=6f5da2a9-300f-4e60-89db-e227db7cb9c6)
hit the query of alarm (id=e513e3d2-bd2d-4f75-8eae-e5dd3a09faab)

This doesn't have much information and has duplicate alarm id.

And alarm notifier will send reason such as:

Event (message_id=6f5da2a9-300f-4e60-89db-e227db7cb9c6)
hit the query of alarm (id=e513e3d2-bd2d-4f75-8eae-e5dd3a09faab)

Alarm notifier already includes the alarm id information, but has
query information, so if there is many alarms, user needs to
retieve that alarm to see why an event would trigger that alarm
and which one the alarm is.

This patch improves such text to be:

alarm e513e3d2-bd2d-4f75-8eae-e5dd3a09faab transitioning to alarm
because Event <id=40a6c473-4a8a-40f4-be6b-bab4cb6a221c,event_type=image.update>
hits the query <query=[{{"field": "traits.io_read_kbs",
"op": "eq", "type": "float", "value": "123.456"}]>

Change-Id: I64dd21ae8bee268164ec5d22e0146253c30e1a87
2016-04-28 20:08:20 +08:00
2016-04-28 20:08:20 +08:00
2016-04-26 12:05:47 +00:00
2016-02-05 08:45:38 +00:00
2016-02-05 08:45:38 +00:00
2015-06-25 14:46:39 +02:00
2014-10-09 10:31:23 +03:00
2015-06-25 14:46:39 +02:00
2016-02-12 09:29:20 +01:00
2015-06-25 14:46:39 +02:00
2013-03-15 14:25:48 +00:00
2016-03-16 10:24:51 -04:00
2015-03-25 11:18:56 +01:00
2016-04-19 23:38:01 +08:00
2015-07-07 11:42:13 +08:00
2016-04-23 12:29:26 +08:00

aodh

Release notes can be read online at:

http://docs.openstack.org/developer/aodh/releasenotes/index.html

Documentation for the project can be found at:

http://docs.openstack.org/developer/aodh/

The project home is at:

http://launchpad.net/aodh

Description
OpenStack Telemetry (Ceilometer) Alarming
Readme 22 MiB
Languages
Python 98.3%
Shell 1.5%
Mako 0.2%