Commit Graph

48 Commits

Author SHA1 Message Date
Guillaume Jacquart 3743a8c33d feat(core): Add logs for insights flushing and compaction (#15519) 2025-05-22 14:52:35 +02:00
Guillaume Jacquart bf5551d711 fix(core): Load insights module on webhook instance to save insights on webhook workflows (#15433) 2025-05-19 10:03:45 +02:00
Guillaume Jacquart d9fdef3bf9 fix(core): Make the Insights by time datetime parsing more robust (#15413) 2025-05-19 10:03:27 +02:00
कारतोफ्फेलस्क्रिप्ट™ c42df1c268 refactor(core): Restructure decorators and add tests (#15348) 2025-05-13 15:04:58 +02:00
Iván Ovejero 6be129c08b chore(core): Remove unused database field from ModulePreInitContext (#15319) 2025-05-12 17:31:06 +02:00
Guillaume Jacquart 3be05556f9 feat(core): Check license config for insights max retention (#15256) 2025-05-12 09:43:58 +02:00
Iván Ovejero 1f6a36e26e refactor(core): Move shared workflow and shared credentials repositories to @n8n/db (#15255) 2025-05-09 17:10:25 +02:00
Guillaume Jacquart e34bca779b fix(core): Fix Insights concurrency issues for legacy sqlite (#15028) 2025-05-09 16:52:24 +02:00
Guillaume Jacquart ae27b48ee7 feat(core): Implement Insights pruning system (#14468)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-05-09 14:51:58 +02:00
Guillaume Jacquart 392e91480a fix(core): Add mechanism to prevent concurrent compaction on Insights (#14988)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-05-08 12:18:51 +02:00
Iván Ovejero ade546fb48 refactor(core): Move first batch of repositories to @n8n/db (#15130) 2025-05-06 11:22:43 +02:00
Iván Ovejero ca0e7ffe3b refactor(core): Separate license state from license service (#15097) 2025-05-06 09:43:08 +02:00
Iván Ovejero 20834abb56 refactor(core): Move interrelated entities to @n8n/db (#15050) 2025-05-02 12:19:32 +02:00
Iván Ovejero 9c0e0f0d2e refactor(core): Decouple leadership-change handlers using decorators (#15009) 2025-04-30 12:59:57 +02:00
Iván Ovejero a88b889309 refactor(core): Introduce @OnLifecycleEvent decorator (#14987) 2025-04-30 10:15:56 +02:00
Iván Ovejero 20115a8fa1 refactor(core): Move initial files to @n8n/db (#14953) 2025-04-29 18:14:52 +02:00
Iván Ovejero 70b93f2f53 refactor(core): Split out database types (#14942) 2025-04-28 16:15:20 +02:00
Iván Ovejero 2d60e469f3 refactor(core): Introduce @OnLeaderTakeover and @OnLeaderStepdown (#14940) 2025-04-28 10:53:01 +02:00
Guillaume Jacquart 28596a633e feat(core): Implement granularity and date range filtering on insights (#14841) 2025-04-25 13:54:24 +02:00
Iván Ovejero e6381e09e3 refactor(core): Introduce @n8n/decorators package (#14784) 2025-04-23 16:39:49 +02:00
Iván Ovejero 14d8ae1c1a refactor(core): Remove legacy middleware from insights module (#14819) 2025-04-23 12:18:22 +02:00
Guillaume Jacquart 27f223d294 fix(core): Disable insights for sqlite legacy (#14824) 2025-04-23 12:01:02 +02:00
Guillaume Jacquart e83a64b84a fix(core): Handle infinite max history for insights date range (#14794) 2025-04-22 17:44:28 +02:00
Guillaume Jacquart 65d6b2382d feat(core): Add insights date ranges option to frontend settings (#14792) 2025-04-22 16:58:37 +02:00
Guillaume Jacquart eaf6783eb5 feat(core): Split insights service (#14469) 2025-04-22 12:40:31 +02:00
Iván Ovejero 6f92d26bbc refactor(core): Decouple insights module from multi-main (#14778) 2025-04-22 10:40:53 +02:00
Guillaume Jacquart 88ed7beff2 feat(core): Enable insights for sqlite legacy (#14606) 2025-04-22 10:38:34 +02:00
Guillaume Jacquart 513f20a902 fix(core): Reschedule Insights flushing after skipping for empty buffer (#14637) 2025-04-15 11:42:22 +02:00
Guillaume Jacquart 6dd7756191 fix(editor): Fix Insights display time saved from minutes (#14622) 2025-04-15 09:38:01 +02:00
Guillaume Jacquart 46d9b60049 feat(editor): Fix paywall for dashboard disabled licences (#14617) 2025-04-15 09:37:54 +02:00
Guillaume Jacquart b568caa209 feat(core): Handle disabled modules logic and db engine dependent default for insights (#14243)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2025-04-14 12:52:56 +02:00
Iván Ovejero 9397320af9 refactor(core): Validate all string union config fields (#14527) 2025-04-11 13:58:07 +02:00
Guillaume Jacquart ec73958797 feat(API): Match insights summary period with number of days filter in graphs and table (#14500) 2025-04-10 10:52:23 +02:00
Guillaume Jacquart 6c73d7ed81 fix(API): Fix ratio tests on insights by workflow (#14448) 2025-04-08 10:48:57 +02:00
Guillaume Jacquart 60afb46094 perf(core): Batch raw insights save and add metadata cache (#14261)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-04-07 18:18:11 +02:00
Danny Martini 7379f44896 feat(core): Don't store insights for sub workflow executions (#14384) 2025-04-03 15:16:50 +02:00
Guillaume Jacquart 17a829f1a2 feat(API): Add config to set age threshold for insights compaction (#14221) 2025-04-02 17:18:51 +02:00
Guillaume Jacquart db381492a9 feat(API): Implement BE api for insights data (#14064)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-04-02 16:34:57 +02:00
Guillaume Jacquart cf37ee3ced fix(API): Insights - round failure rate to 3 decimals (#14325) 2025-04-01 17:23:08 +02:00
Guillaume Jacquart bf274c0a87 fix(API): Summarize insights from current datetime instead of beginning of the day (#14186) 2025-03-28 10:00:34 +01:00
Guillaume Jacquart ffc0a596e0 feat(API): Return null deviation on insights summary if previous period has no data (#14193) 2025-03-26 17:56:56 +01:00
Guillaume Jacquart db99974cca feat(API): Add day to week compaction for insights dashboard (#14165) 2025-03-26 15:38:47 +01:00
Danny Martini 7fb6eb1488 ci: Also run MySQL and PG tests when modules have changes in repos or entities (#14170) 2025-03-25 16:41:48 +01:00
Guillaume Jacquart 6f60d657eb fix(API): Fix import config import (#14137) 2025-03-25 09:21:33 +01:00
Danny Martini b616ceb08b feat(core): Implement API to retrieve summary metrics (#13927)
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
2025-03-24 14:10:24 +01:00
Guillaume Jacquart d8433d2895 feat(API): Implement compaction logic for insights (#14062)
Co-authored-by: Danny Martini <danny@n8n.io>
2025-03-24 09:59:32 +01:00
Guillaume Jacquart cb5a803f9e feat(core): Store insights data at the end of executions (no-changelog) (#13905)
Co-authored-by: Danny Martini <danny@n8n.io>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2025-03-20 20:25:29 +01:00
कारतोफ्फेलस्क्रिप्ट™ d80b49d6e5 feat(core): Setup backend modules (no-changelog) (#14084)
Co-authored-by: Guillaume Jacquart <jacquart.guillaume@gmail.com>
Co-authored-by: Danny Martini <danny@n8n.io>
2025-03-20 19:54:27 +01:00