1c5bd9e8fd9e2bbd26161266b5bb6a1127009d65
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
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:
- The project home is at:
Description
Languages
Python
98.3%
Shell
1.5%
Mako
0.2%