0
0
Fork 0
mirror of https://github.com/alerta/alerta-contrib.git synced 2025-03-17 05:52:38 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Ky-Anh Huynh
58023cc05d
plugin/alerta-prometheus: fix 500 error when response is not as expected ()
* plugin/alerta-prometheus: fix 500 error when response is not as expected

Alertmanager Api may respond with empty set of silenceIds, which may cause exception

"alerta.exceptions.ApiError: Alertmanager: ERROR - list indices must
 be integers or slices, not str"

This error is seen from the client, and the Alert can not be ACK-ed

* plugin/alerta-prometheus: minor code improvement
2020-02-20 12:42:10 +01:00
Anton Markelov
bc6cd14ea5 allow inheritance of ack timeout for alertmanager () 2019-07-24 08:39:08 +02:00
Nick Satterly
8120b73edc Fix link test in prom README 2018-09-11 10:16:41 +02:00
Nick Satterly
f6361c061f
Add support for BasicAuth to prometheus plugin () 2018-09-11 10:12:59 +02:00
Nick Satterly
95838d6648 Convert Prometheus Alertmanager silence days to integer 2017-12-24 20:36:38 +00:00
Nick Satterly
6c15db4c51 Update plugins for Release 5.0 2017-09-17 16:22:46 +01:00
Nick Satterly
42fa9f9fb4 Prometheus silenceId update to attributes 2017-08-14 09:46:57 +01:00
Nick Satterly
1849db2ad0 Make everything MIT license 2017-05-10 10:09:13 +01:00
Nick Satterly
02aeb5cc0f Allow override of prom external url then fallback to default 2017-01-03 09:59:47 +00:00
Nick Satterly
af61284530 Prometheus plugin should use externalUrl if available 2017-01-03 02:03:02 +00:00
Nick Satterly
085846e45e Add more info to Prometheus README 2016-11-21 10:50:21 +00:00
Nick Satterly
94af7da990 Update README 2016-11-19 23:54:23 +00:00
Nick Satterly
1fcff4d663 Delete silences in Prometheus Alertmanager 2016-11-19 23:48:21 +00:00
Nick Satterly
53fc1b2360 Set useful logger name for plugins 2016-09-15 10:18:03 +01:00
Nick Satterly
b2b53352a1 Standardise setup.py for all plugins 2016-09-14 14:23:41 +01:00
Nick Satterly
4c7744e435 Fix alerta plugin package namespace clashes 2016-09-14 11:57:44 +01:00
Nick Satterly
792899fecf Add prometheus plugin and update other plugins 2016-03-07 22:25:58 +10:00