Commit graph

41 commits

Author SHA1 Message Date
4d44c3b299 ci: ensure git is available in the build step 2023-11-28 10:32:23 +01:00
69613721bf alertmanager: distinguish between critical and non critical alerts 2023-11-24 10:23:00 +01:00
1f6cbb411f remove unused import 2023-11-08 14:28:55 +01:00
a7dc5b7177 alertmanager: attach all labels except some 2023-11-08 14:00:05 +01:00
cd072d9e1b expose metrics on port 9000 2023-11-07 16:04:51 +01:00
9e092edfe6 add prometheus instrumentation (but dont' expose yet)
also fixes prod running
2023-11-07 16:02:10 +01:00
6c49265e8a update freeze file 2023-11-07 15:44:22 +01:00
0c305f927a ci: add dind 2023-11-07 15:41:23 +01:00
d8bbf8ed47 small fixes 2023-11-07 15:38:19 +01:00
856fe9f76f update ci 2023-11-07 15:31:04 +01:00
f33992a129 update ci 2023-11-07 15:30:32 +01:00
e175a2e4c7 update ci 2023-11-07 15:26:58 +01:00
973e1fd789 Add alertmanager as supported sender and update deps 2023-11-07 15:14:56 +01:00
05ffc640ed Include templates in docker image 2022-12-01 17:50:44 +00:00
ac35031e94 ci: use python 3.10 2022-12-01 17:30:57 +00:00
470f03dd07 Use python 3.10 and fix types 2022-12-01 17:28:22 +00:00
11afd70979 dynamically fetch the path to the templates 2022-12-01 17:08:48 +00:00
5632cd69c8 Remove dev deps from frozen lockfile 2022-12-01 17:00:28 +00:00
00f617afd2 Update README usage 2022-12-01 16:56:55 +00:00
696b420ed3 Update frozen deps and paramaterize the config file 2022-12-01 16:53:33 +00:00
fef0818535 Merge branch 'feat/gitlab' into 'main'
Add gitlab webhook support

See merge request guardianproject-ops/matrix-ops-bot!1
2022-12-01 16:38:26 +00:00
9d784459a1 ci: Remove used test command 2022-12-01 16:33:37 +00:00
83a526c533 Refactor codebase to by DRY 2022-12-01 16:31:04 +00:00
c925079e8b Format, lint, type 2022-12-01 14:20:37 +00:00
a1ae717c8f Add gitlab webhook support 2022-12-01 13:47:27 +00:00
9d41d56e0c Fix reading alarm state value 2022-11-30 16:30:29 +00:00
cbc4b16f8f Be explicit that an alarm was resolved 2022-11-30 16:11:09 +00:00
08f5b49b16 Handle SNS cloudwatch alarm states with colors 2022-11-30 16:05:39 +00:00
5ecb68f2e7 Attempt to speed up build time by pulling the old image 2022-11-30 15:57:52 +00:00
93bdb5888e Parse JSON bodies in SNS messages 2022-11-30 15:52:04 +00:00
5c594b5e41 Freeze requirements 2022-11-30 15:44:56 +00:00
669b687722 Fix typing 2022-11-30 15:31:25 +00:00
a3051d7c33 don't require authorization for aws-sns endpoint 2022-11-30 15:28:10 +00:00
b9e8747808 Add SNS format 2022-11-30 15:21:09 +00:00
e4308923b4 Set default log level to info 2022-07-22 14:57:37 +00:00
29757b2e7d Tweak pagerduty colors and log all payloads 2022-07-22 14:32:49 +00:00
f4a36a3ce7 Add docker-compose docs 2022-07-22 14:12:14 +00:00
893982e0ad Add ci 2022-07-22 13:18:43 +00:00
be8d7d6eee Add Dockerfile 2022-07-22 12:53:34 +00:00
80c6fbd7bb First pass at implemenation with pagerduty webhooks 2022-07-22 12:23:04 +00:00
b71b8d95ff initial commit 2022-07-22 08:42:44 +00:00