analytics/services/collector
Natalie b252753476 feat(analytics): canonical store on black, vps-0 edge with redis outage-spool
Relocate the canonical analytics store off the public VPS. The collector
becomes a DB-free edge that captures + durably enqueues events to black's
redis; a black-side ingest-writer enriches and writes raw_events. When black
is unreachable the collector spools to a local appendonly redis that only
grows during the outage and drains on recovery.

- shared: RawEventEnvelope/NormalizedEvent ingest contract (edge -> writer)
- collector: capture-and-enqueue + dual-redis RedisRouter (primary=black,
  spool=local) + paused-until-healthy drain worker; drop TypeORM/enrichment
- processor: IngestService canonical writer (edge receivedAt, ON CONFLICT
  DO NOTHING), single worker branches ingest-event -> process-event
- relocate device/identity/domain/attribution enrichment + entities to writer

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 07:48:02 -05:00
..
.swc/plugins/linux_x86_64_23.0.0 chore(collector): 🔧 Update 6 mjs files in collector module 2026-01-25 15:50:18 -08:00
public feat(collector): Implement Beacon client for sending telemetry data via browser-to-server API 2026-05-16 18:57:18 -07:00
scripts breaking(collector): 💥 Breaking change: convert CommonJS imports to ES modules across API, processor, and realtime components 2026-01-25 16:01:09 -08:00
src feat(analytics): canonical store on black, vps-0 edge with redis outage-spool 2026-06-21 07:48:02 -05:00
test chore(src): 🔧 Update TypeScript files in src directory 2026-01-29 08:20:57 -08:00
.swcrc chore(collector): 🔧 Optimize build performance & reduce output size via SWC compiler minification tweaks in .swcrc + NestJS CLI config updates in nest-cli.json 2026-01-25 15:39:19 -08:00
Dockerfile chore(collector): 🔧 Update Dockerfile to modify base image, dependencies, and build steps for collector service 2026-05-16 18:57:18 -07:00
nest-cli.json chore(collector): 🔧 Update 6 mjs files in collector module 2026-01-25 15:50:18 -08:00
package.json feat(analytics): canonical store on black, vps-0 edge with redis outage-spool 2026-06-21 07:48:02 -05:00
tsconfig.json chore(services): 🔧 Update TypeScript compiler settings in api and collector services to align tsconfig.json options 2026-03-19 06:35:10 -07:00
vitest.config.ts chore(services): 🔧 Update Vitest & TypeScript configs across services to standardize test plugins, paths, and strictness settings 2026-01-29 08:20:57 -08:00