Nawaz Dhandala
bc234deb0e
style(analytics): simplify empty projections to [] in Log/Metric/Span and remove stray blank line in TableManegement
2025-10-22 18:08:18 +01:00
Nawaz Dhandala
546b4a4fb3
refactor(analytics): expose AnalyticsTableManagement helpers and remove projection/materialized view creation from createTables
...
- Make utility methods public: doesProjectionExist, materializeProjection, escapeForQuery, escapeIdentifier, doesMaterializedViewExist, createMaterializedView
- Remove inline projection and materialized view creation logic from createTables (createTables now only ensures tables exist)
- Remove unused Projection import
2025-10-22 18:07:45 +01:00
Nawaz Dhandala
1300c4e667
feat(analytics): add materialized view support to analytics models and table management
...
- add MaterializedView type
- wire materializedViews into AnalyticsBaseModel (constructor param, property, getter/setter)
- implement materialized view processing in AnalyticsTableManagement (validation, existence check, creation)
2025-10-22 18:04:51 +01:00
Nawaz Dhandala
3796053403
style(analytics): remove extra blank line in doesProjectionExist catch block
2025-10-21 21:04:17 +01:00
Nawaz Dhandala
f316bfb9fd
feat(analytics): materialize projections after creation and add error handling
...
Call materializeProjection after creating a projection to ensure it is materialized.
Introduce materializeProjection to run ALTER TABLE ... MATERIALIZE PROJECTION and
add escapeIdentifier for safe identifier quoting. Wrap the projection-existence
query in try/catch with logging and rethrow on failure.
2025-10-21 21:03:10 +01:00
Nawaz Dhandala
a3bb9f003f
style(analytics): add debug logging to projection processing in TableManegement.ts
2025-10-21 19:48:41 +01:00
Nawaz Dhandala
eb70a923f3
style(analytics): add explicit types for executeQuery result and json response in TableManegement.ts
2025-10-21 16:00:38 +01:00
Nawaz Dhandala
11d39898d3
style(analytics): normalize escaped variable formatting in TableManegement.ts
2025-10-21 15:54:45 +01:00
Nawaz Dhandala
8e5907d523
feat(analytics): check for existing projections before creating; add doesProjectionExist and escapeForQuery helpers and required imports
2025-10-21 15:51:07 +01:00
Nawaz Dhandala
c9e57fcb19
feat(analytics): add Projection type and use typed projections in models and table creation
2025-10-21 15:46:57 +01:00
Nawaz Dhandala
20129e606a
feat(analytics): add projections support to models and apply projection statements on table creation
...
- add projections param, backing field and accessors to AnalyticsBaseModel (defaults to [])
- update analytics models (ExceptionInstance, Log, Metric, MonitorLog, Span) to include projections: []
- execute each model.projections SQL statement in AnalyticsTableManagement when creating tables
2025-10-21 14:37:22 +01:00
Simon Larsen
9be007cbda
Add WorkerNotification queue and update SendReportsToSubscribers job configuration
2024-09-22 14:15:09 +01:00
Simon Larsen
684abc02a0
Implement AnalyticsTableManagement and DataMigrationBase classes; remove deprecated files and update cron jobs
2024-09-16 08:27:55 -07:00