{"push_id":1100809960,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"112250e14edbd15b194df3a74f045c8aeca43cab","before":"d63f6b2be6b12685948335fe0d1ae1cf5c844f34","commits":[{"sha":"1c5bd9e8fd9e2bbd26161266b5bb6a1127009d65","author":{"email":"30e4c395bbf28d1370156a27bf5df9fbcb31c5df@gmail.com","name":"ZhiQiang Fan"},"message":"[Trivial] Improve alarm reason text\n\nIn log, I find such message:\n\nalarm e513e3d2-bd2d-4f75-8eae-e5dd3a09faab transitioning to alarm\nbecause Event (message_id=6f5da2a9-300f-4e60-89db-e227db7cb9c6)\nhit the query of alarm (id=e513e3d2-bd2d-4f75-8eae-e5dd3a09faab)\n\nThis doesn't have much information and has duplicate alarm id.\n\nAnd alarm notifier will send reason such as:\n\nEvent (message_id=6f5da2a9-300f-4e60-89db-e227db7cb9c6)\nhit the query of alarm (id=e513e3d2-bd2d-4f75-8eae-e5dd3a09faab)\n\nAlarm notifier already includes the alarm id information, but has\nquery information, so if there is many alarms, user needs to\nretieve that alarm to see why an event would trigger that alarm\nand which one the alarm is.\n\nThis patch improves such text to be:\n\nalarm e513e3d2-bd2d-4f75-8eae-e5dd3a09faab transitioning to alarm\nbecause Event <id=40a6c473-4a8a-40f4-be6b-bab4cb6a221c,event_type=image.update>\nhits the query <query=[{{\"field\": \"traits.io_read_kbs\",\n\"op\": \"eq\", \"type\": \"float\", \"value\": \"123.456\"}]>\n\nChange-Id: I64dd21ae8bee268164ec5d22e0146253c30e1a87","distinct":true,"url":"https://api.github.com/repos/rdo-packages/aodh/commits/1c5bd9e8fd9e2bbd26161266b5bb6a1127009d65"},{"sha":"112250e14edbd15b194df3a74f045c8aeca43cab","author":{"email":"d95b56ce41a2e1ac4cecdd398defd7414407cc08@review.openstack.org","name":"Jenkins"},"message":"Merge \"[Trivial] Improve alarm reason text\"","distinct":true,"url":"https://api.github.com/repos/rdo-packages/aodh/commits/112250e14edbd15b194df3a74f045c8aeca43cab"}]}