Commit Graph

151 Commits

Author SHA1 Message Date
Klaas van Schelven
a328b68d24 unmute when moving to/from resolved state 2024-01-10 22:43:44 +01:00
Klaas van Schelven
8766e2ccfe new-issue and regression alerts (not actually implemented, but the call is) 2024-01-10 17:14:49 +01:00
Klaas van Schelven
12e24e9146 Fix the tests 2024-01-10 17:08:09 +01:00
Klaas van Schelven
360d222472 Muting: test case for simultaneous unmute 2024-01-10 17:06:03 +01:00
Klaas van Schelven
17b6758e6b unmute alerts (not actually implemented, but the call is) 2024-01-10 08:43:06 +01:00
Klaas van Schelven
f4dedc9319 unmute as a separate thing to test (Yesterday's work) 2024-01-10 08:22:23 +01:00
Klaas van Schelven
08d53fd378 Rewrite 'unmute issue handler' to avoid double triggering
(untested)
2024-01-09 22:30:33 +01:00
Klaas van Schelven
2202fd8d5d Organize event_listeners by purpose 2024-01-09 22:22:06 +01:00
Klaas van Schelven
b1738fff13 Document a few thoughts on celery 2024-01-09 19:20:52 +01:00
Klaas van Schelven
f96724a4db celery: basic config (quickstart); alerts startapp
I've checked that this celery config actually works (also with TASK_ALWAYS_EAGER=False)
2024-01-09 19:16:07 +01:00
Klaas van Schelven
9936c93b4e Events <-> RawEvents FK 2024-01-07 22:39:56 +01:00
Klaas van Schelven
186ddb62cf Event.from_ingested 2024-01-07 22:31:07 +01:00
Klaas van Schelven
8976367331 Remove old script (it's now a command) 2024-01-07 22:09:56 +01:00
Klaas van Schelven
6a27a248af Split up ingest/digest (and have a test for process_event) 2024-01-07 22:09:38 +01:00
Klaas van Schelven
5cf1445eeb thoughts about pc registry; performance of the pc registry 2024-01-05 23:07:31 +01:00
Klaas van Schelven
3810ba18f4 Global registry for PCs: init-once 2024-01-05 22:47:19 +01:00
Klaas van Schelven
94661b4bb8 Swap FK event<->issue 2024-01-05 22:38:59 +01:00
Klaas van Schelven
164ed8dfd5 WIP: tests for registry 2024-01-05 22:29:26 +01:00
Klaas van Schelven
e3433e8ddb server-side timestamp fixes (untested) 2024-01-05 20:40:41 +01:00
Klaas van Schelven
030f64d874 Don't use auto_now_add; you can't override that 2024-01-05 20:37:05 +01:00
Klaas van Schelven
fed7d572f7 Test for PeriodCounter.add_event_listener w/ auto_remove=True 2024-01-05 20:35:09 +01:00
Klaas van Schelven
bc849874f1 Missing migrations 2024-01-05 20:31:08 +01:00
Klaas van Schelven
6bc00c366a no volume-based alerts (only volume-based muting) 2024-01-05 20:31:51 +01:00
Klaas van Schelven
89cab4f3c8 WIP: midway checkin in the PeriodCounter registry stuff 2024-01-05 20:20:14 +01:00
Klaas van Schelven
700c9e68b4 Add timezone tests 2024-01-05 19:15:54 +01:00
Klaas van Schelven
29cf095023 Rename -> nr_of_periods 2024-01-05 18:52:26 +01:00
Klaas van Schelven
2eb555538b VolumeBasedCondition: simple serialization 2024-01-05 18:48:05 +01:00
Klaas van Schelven
fee07ac1ba Remove if-statement and clarify funny definition 2024-01-05 17:57:58 +01:00
Klaas van Schelven
884dcf8c45 Rename for clarity 2024-01-05 17:51:50 +01:00
Klaas van Schelven
da04ebe6c7 prev_tup with n parameter
this makes the usages of prev_tup approx 3 times faster
2024-01-05 17:47:59 +01:00
Klaas van Schelven
8728fbadc6 rename variables 2024-01-05 17:15:40 +01:00
Klaas van Schelven
392ce7dda8 Rewrite design docs 2024-01-04 20:37:26 +01:00
Klaas van Schelven
8355cd5596 Split a DESIGN doc 2024-01-04 20:25:31 +01:00
Klaas van Schelven
02180d391d Rename -> initial_event_state 2024-01-04 20:20:11 +01:00
Klaas van Schelven
bf9c40c0e2 Rewrite comment 2024-01-04 20:19:06 +01:00
Klaas van Schelven
0fec3469cb Performance of event-handling 2024-01-04 20:15:38 +01:00
Klaas van Schelven
ea6378c2d4 event listeners 2023-12-19 18:40:55 +01:00
Klaas van Schelven
63c02c9ff5 print_thoughts_about PeriodCounter.inc() 2023-12-19 17:08:57 +01:00
Klaas van Schelven
806bf1a0c5 Tool to test w/ bursty data 2023-12-18 23:32:08 +01:00
Klaas van Schelven
84c12e97a1 First performance-tests added 2023-12-18 22:52:22 +01:00
Klaas van Schelven
e586f9b0a0 Add a few more tests to _prev_tup 2023-12-18 22:52:11 +01:00
Klaas van Schelven
45560cfcc5 PeriodCounter, WIP 2023-12-15 23:23:59 +01:00
Klaas van Schelven
1757c33968 PeriodCounter WIP midway checkin 2023-12-15 23:10:37 +01:00
Klaas van Schelven
930828d23d Initial thoughts about alerts 2023-12-15 20:40:41 +01:00
Klaas van Schelven
ad08a6def5 More rabbit-hole thought about explicit reopening 2023-12-14 22:57:32 +01:00
Klaas van Schelven
368cc3679f No 'reopen' in the UI 2023-12-14 22:49:07 +01:00
Klaas van Schelven
e8e9412765 Tests for 'any later reoccurrence is a regression' 2023-12-14 22:45:22 +01:00
Klaas van Schelven
681f742026 Fresh objects for assertions 2023-12-14 22:41:14 +01:00
Klaas van Schelven
dad54bd53a Tests (and testability) of is_issue_regression 2023-12-14 22:21:43 +01:00
Klaas van Schelven
99ac06a0d8 Releases, events, issues: WIP 2023-12-14 19:57:06 +01:00