mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat(analytics): build-time bake + telemetry depth (#336)
Bake PostHog + Sentry into the published Docker image (SNAPOTTER_ANALYTICS build arg, codegen script). Delete entire consent system. Move event emission to BullMQ worker. Add cross-tier identity stitching, Sentry performance tracing on both tiers, frontend funnel events. Fix stateful regex bug. 86 files changed, 1593 insertions(+), 3747 deletions(-)
This commit is contained in:
+5
-4
@@ -72,10 +72,11 @@ LOG_DIR=./data/logs # rotating log ring for support bundles
|
||||
# Prometheus metrics: GET /api/v1/metrics requires an authenticated admin
|
||||
# (scrapers need a session cookie or API key with system:health permission).
|
||||
|
||||
# Analytics: defaults OFF. Enable only with your own PostHog/Sentry keys.
|
||||
# ANALYTICS_ENABLED=false
|
||||
# POSTHOG_API_KEY=
|
||||
# SENTRY_DSN=
|
||||
# --- Analytics ---
|
||||
# Product analytics (PostHog) and error monitoring (Sentry) are baked into
|
||||
# the published Docker image and cannot be disabled at runtime.
|
||||
# To build without analytics: docker compose build --build-arg SNAPOTTER_ANALYTICS=off
|
||||
|
||||
# One-time SQLite import on first boot (1.x upgrade path). Leave unset normally.
|
||||
# SQLITE_MIGRATE_PATH=/data/snapotter.db
|
||||
|
||||
|
||||
Reference in New Issue
Block a user