Commit graph

34 commits

Author SHA1 Message Date
HgO
eeb39b8aea fix dm label filtering 2024-08-12 13:24:40 +02:00
HgO
13976ea254 feature to send alerts in direct message 2024-08-04 11:08:43 +02:00
HgO
d9e22c6ea8 fix linting and improve logs 2024-01-22 11:43:11 +01:00
HgO
86aa44b260 implement matrix client failover 2024-01-22 11:35:13 +01:00
HgO
a08cd69171 handle generic exceptions 2023-01-29 21:44:24 +01:00
HgO
17f24cb086 create custom logger to log at debug level webhook requests 2022-10-29 14:18:16 +02:00
HgO
264687a62d add tests for chat functions 2022-08-08 12:38:09 +02:00
HgO
4e50ddf5bb useless cache removal 2022-08-08 00:36:39 +02:00
HgO
f381eac689 auto extend silence without duration 2022-08-08 00:28:36 +02:00
HgO
6781bc82fa render alert from jinja2 templates 2022-07-28 17:39:47 +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
5ed5a4aa08 refactor to handle one alert per matrix event 2022-07-26 19:33:04 +02:00
HgO
073cde37db fix silence ID caching 2022-07-17 00:21:44 +02:00
HgO
c4752d8192 rename /alert endpoint to /alerts 2022-07-12 18:22:11 +02:00
HgO
fa39283bf4 add health endpoint 2022-07-12 18:19:52 +02:00
HgO
2359f6ca77 add unit tests for webhook, alert and missing cache 2022-07-11 23:18:57 +02:00
HgO
bbdf648cd9 delete silence with specific matchers 2022-07-10 12:51:49 +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
38d12512ef add prometheus exporter 2022-07-09 12:43:18 +02:00
HgO
6b8a2f64f8 add missing await 2022-07-09 00:02:34 +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
fa0cc9bfca Revert "remove tag cache"
This reverts commit 9173eb04e3.
2022-07-06 01:19:34 +02:00
HgO
9173eb04e3 remove tag cache 2022-07-06 01:05:56 +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