Commit graph

35 commits

Author SHA1 Message Date
HgO
86aa44b260 implement matrix client failover 2024-01-22 11:35:13 +01:00
HgO
6fd687cc90 add force option for update silence 2022-08-08 11:26:08 +02:00
HgO
f284486570 fix silence update 2022-08-08 02:03:25 +02:00
HgO
1555359e03 add logs 2022-08-08 01:59:09 +02:00
HgO
3705f6c219 fix ack existing silence 2022-08-08 01:44:08 +02:00
HgO
f381eac689 auto extend silence without duration 2022-08-08 00:28:36 +02:00
HgO
bbcc0cc427 webhook accept room_id param; config define list of allowed rooms ; check if duration is positive in command 2022-07-28 14:37:23 +02:00
HgO
978f0adc61 fix silence status 2022-07-27 21:28:57 +02:00
HgO
a1f701d2ba change max duration to 10 years 2022-07-27 21:11:11 +02:00
HgO
5ed5a4aa08 refactor to handle one alert per matrix event 2022-07-26 19:33:04 +02:00
HgO
1e006cb66f parse duration once in command and handle exceptions 2022-07-12 00:27:17 +02:00
HgO
bbdf648cd9 delete silence with specific matchers 2022-07-10 12:51:49 +02:00
HgO
af0b9c31ca fix error message 2022-07-10 03:07:31 +02:00
HgO
4d30d5b01a fix error message 2022-07-10 03:06:03 +02:00
HgO
209ba167ad fix silence matchers 2022-07-10 03:03:08 +02:00
HgO
2e2db345da create silence matchers from alert labels 2022-07-10 02:54:35 +02:00
HgO
3ca45fccb1 create silence with specific matchers 2022-07-10 02:40:04 +02:00
HgO
6f55d39fb6 update requirements 2022-07-09 15:25:16 +02:00
HgO
f3151cee4c link alertmanager client to prometheus metrics 2022-07-09 12:47:19 +02:00
HgO
687afe32ef improve errors for alertmanager 2022-07-09 10:38:40 +02:00
HgO
4873abca70 add tests for alertmanager client 2022-07-09 09:56:28 +02:00
HgO
59f5284caf count all removed silences 2022-07-09 00:08:51 +02:00
HgO
6b8a2f64f8 add missing await 2022-07-09 00:02:34 +02:00
HgO
8f17546d5c fix api endpoint missing 2022-07-08 23:23:38 +02:00
HgO
9b26d6b2ae fix context manager 2022-07-08 23:04:04 +02:00
HgO
9b3ef85e76 fix context managers 2022-07-08 22:46:04 +02:00
HgO
ddf22f3694 fix context managers 2022-07-08 22:39:40 +02:00
HgO
d8ab7c1d9b fix context managers 2022-07-08 22:38:51 +02:00
HgO
eda0dc8193 fix context managers 2022-07-08 22:37:09 +02:00
HgO
9a3f775195 unit tests for command and callbacks ; make alertmanager requests async 2022-07-08 21:11:25 +02:00
HgO
baf73ea5a2 Revert "reuse same cache everywhere"
This reverts commit a3b13e3796.
2022-07-06 01:19:44 +02:00
HgO
a3b13e3796 reuse same cache everywhere 2022-07-06 01:04:06 +02:00
HgO
6687e7a92a allow silence deletion 2022-07-06 00:54:13 +02:00
HgO
17bf73f22b fix acknowledge multiple alerts 2022-07-05 23:35:19 +02:00
HgO
96ee7f068a create matrix bot to send and acknowledge alerts 2022-07-04 01:03:24 +02:00