Commit Graph

194 Commits

Author SHA1 Message Date
Carl-Gerhard Lindesvärd
86bf9dd064 remove(api): profile alias are no gone since not used 2025-02-24 23:24:25 +01:00
Carl-Gerhard Lindesvärd
5863dd8c2b improve(buffer): don't add profile if its from an event and already created 2025-02-24 22:55:30 +01:00
Carl-Gerhard Lindesvärd
bc3b9ae7bf chore(db): add logger to mutations (forgot model) 2025-02-22 14:36:10 +01:00
Carl-Gerhard Lindesvärd
93944fe85f chore(db): add logger to mutations 2025-02-22 14:27:07 +01:00
Carl-Gerhard Lindesvärd
b96af6c21b improve(buffer): consistent loggic 2025-02-22 10:00:16 +01:00
Carl-Gerhard Lindesvärd
2022a82f03 fix(buffer): better merging profiles in buffer 2025-02-22 07:46:06 +01:00
Carl-Gerhard Lindesvärd
59012526e2 fix(worker): add reqId to logger for better traceability 2025-02-19 10:33:42 +01:00
Carl-Gerhard Lindesvärd
c4258bbccd fix(buffer): delete last screen view again on completed session 2025-02-19 09:54:20 +01:00
Carl-Gerhard Lindesvärd
8e94ce5877 fix(buffer): merge events in queue and get last screen view from buffer instead of cache 2025-02-18 23:08:38 +01:00
Carl-Gerhard Lindesvärd
3fd4382c76 debug(buffer): log more and disable deletion of cache 2025-02-18 21:17:02 +01:00
Carl-Gerhard Lindesvärd
344bfd1687 fix(buffer): debug stalled events 2025-02-18 10:32:27 +01:00
Carl-Gerhard Lindesvärd
329c0885d4 improve(self-hosting): remove goose, custom migration, docs, remove zookeeper 2025-02-17 20:54:54 +01:00
Carl-Gerhard Lindesvärd
14468a1004 fix(buffer): avoid stalled session events 2025-02-17 06:01:56 +01:00
Carl-Gerhard Lindesvärd
cfd7fd9c5e chore: more clean up + ts issues 2025-02-11 21:50:51 +01:00
Carl-Gerhard Lindesvärd
3205ea0a31 fix(buffer): live counter 2025-02-11 21:39:10 +01:00
Carl-Gerhard Lindesvärd
848f475412 improve(db): do not use keys in redis 2025-02-11 21:39:10 +01:00
Carl-Gerhard Lindesvärd
0cf73e299a chore(root): clean up unused stuff 2025-02-11 12:07:57 +01:00
Carl-Gerhard Lindesvärd
af0f9717a8 improve(worker): handle sessions with unknown state 2025-02-09 20:39:52 +01:00
Carl-Gerhard Lindesvärd
b9d071dbbb fix(buffer): on session_end make sure we only add it to sessions if more events exists 2025-02-09 07:43:12 +01:00
Carl-Gerhard Lindesvärd
b1a66199a3 fix(buffer): unpack error 2025-02-09 07:21:17 +01:00
Carl-Gerhard Lindesvärd
0dfa77957c tmp(buffer): get all sessions instead 2025-02-09 07:06:45 +01:00
Carl-Gerhard Lindesvärd
ec8aaf24fb fix(buffer): move to redis again 😅 but better 2025-02-08 21:38:27 +01:00
Carl-Gerhard Lindesvärd
6fae06770c wip 2025-02-04 17:02:10 +01:00
Carl-Gerhard Lindesvärd
c2d2f64fc3 use primary for reading eventbuffer 2025-02-04 16:51:18 +01:00
Carl-Gerhard Lindesvärd
cc1f4aa625 improve(buffer): do not create profile for each event 2025-02-04 15:36:04 +01:00
Carl-Gerhard Lindesvärd
4b3a7222f8 improve(buffer): exclude common properties before checking! 2025-02-04 15:03:49 +01:00
Carl-Gerhard Lindesvärd
b0a41f7911 improve(buffer): stringify all properties since they can be different types (unsure why now) 2025-02-04 14:46:58 +01:00
Carl-Gerhard Lindesvärd
e3131ed72a improve(api): cache salts 2025-02-04 14:21:37 +01:00
Carl-Gerhard Lindesvärd
3a61276859 fix(buffer): better checksum for profile buffer 2025-02-04 14:10:38 +01:00
Carl-Gerhard Lindesvärd
8132ec4bb0 improve(clickhouse): better logger 2025-02-04 13:39:42 +01:00
Carl-Gerhard Lindesvärd
77365391c2 improve(buffer): understand better if checksum is broken or not 2025-02-04 13:39:28 +01:00
Carl-Gerhard Lindesvärd
272ea7fa7c fix(buffer): add correct envs 2025-02-04 12:07:21 +01:00
Carl-Gerhard Lindesvärd
de3ea6c8be chore(buffer): remove unused deps 2025-02-04 12:03:44 +01:00
Carl-Gerhard Lindesvärd
be83b484bc improve(buffer): better clean up 2025-02-03 21:50:35 +01:00
Carl-Gerhard Lindesvärd
de1a4faf28 fix(buffer): dont save bot events when testing 2025-02-03 09:42:53 +01:00
Carl-Gerhard Lindesvärd
ff2dca42f6 improve(buffer): prep postgres buffer 2025-02-03 09:19:00 +01:00
Carl-Gerhard Lindesvärd
a2b74a9b4d test(buffer): testing new buffer (only inserts, no processing) 2025-01-31 00:09:25 +00:00
Carl-Gerhard Lindesvärd
71bf22af51 feature(queue): use postgres instead of redis for buffer
* wip(buffer): initial implementation of psql buffer

* wip(buffer): add both profile and bots buffer
2025-01-30 22:50:57 +00:00
Carl-Gerhard Lindesvärd
a3f39b95d2 fix(buffer): tmp lower inserts 2025-01-30 22:32:04 +00:00
Carl-Gerhard Lindesvärd
38a93c0b2f improve(db): add read replica 2025-01-30 22:23:41 +00:00
Carl-Gerhard Lindesvärd
033a6acd43 fix(buffer): chunk inserts 2025-01-29 16:07:43 +00:00
Carl-Gerhard Lindesvärd
f7047beede feature(clickhouse): move to clickhouse cloud (handle self-hosting later) 2025-01-05 23:08:04 +01:00
Carl-Gerhard Lindesvärd
c12eb80867 fix(dashboard): improvements to notifications templates 2024-12-29 22:48:06 +01:00
Carl-Gerhard Lindesvärd
964daef4c1 fix(dashboard): handle * (any events) for notifications 2024-12-27 21:51:17 +01:00
Carl-Gerhard Lindesvärd
b6bdcddcbe fix(auth): more auth things 2024-12-21 11:18:06 +01:00
Carl-Gerhard Lindesvärd
d31d9924a5 feature(auth): replace clerk.com with custom auth (#103)
* feature(auth): replace clerk.com with custom auth

* minor fixes

* remove notification preferences

* decrease live events interval

fix(api): cookies..

# Conflicts:
#	.gitignore
#	apps/api/src/index.ts
#	apps/dashboard/src/app/providers.tsx
#	packages/trpc/src/trpc.ts
2024-12-20 22:23:07 +01:00
Carl-Gerhard Lindesvärd
f4ad97d87d feature(dashboard): add ability to filter out events by profile id and ip (#101) 2024-12-07 21:34:32 +01:00
Carl-Gerhard Lindesvärd
12ab8fc0af fix(buffer): increase lock timer 2024-12-03 14:38:21 +01:00
Carl-Gerhard Lindesvärd
ee0f7e7d75 fix(api,worker): general improvements for workers, debugging and logging 2024-12-03 13:25:05 +01:00
Carl-Gerhard Lindesvärd
8bd66f00b0 chore(db): use distributed tables 2024-12-02 07:18:12 +01:00